• Post Reply Bookmark Topic Watch Topic
  • New Topic

DNS server  RSS feed

 
Ronnie Johnson
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded BIND 9.2.1 to try to create a DNS server on my machine running SUSE linux 7.3. I am having some problems, does anyone know how to do this??
 
Tim Holloway
Saloon Keeper
Posts: 18792
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might help if you described the problem.
 
Ronnie Johnson
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bascially, I did a ./configure, then a make, then a make install of BIND 9.2.1, so it should be installed, and now I am following an online tutorial, and one of the first things it says to look at is the named.conf file in the etc directoy. I don't have this file/can't find it.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess the instal put it somewhere else. probably something like /var/named.
If you are not familiar with it, the "locate" tool is your friend. Try:
locate named.conf
If that can't find it, it's database may not have been updated, so do
slocate -d
then try the locate command again.
 
Tim Holloway
Saloon Keeper
Posts: 18792
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For RedHat, at least, it's /etc/named.conf and you'll probably have to create it yourself, since almost everything in it has to do with how the different domains you're serving up are located
Here's a basic sample. Someday I'm going to properly update it for Bind 9...

Note that right up top are the logging options (named is quite flexible there) and the indication of where to find the actual domain definitions (relative to /var/named, for me).
 
Ronnie Johnson
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used the locate command, and sure enough I found the file, but it was buried in the BIND directory somewhere. I believe it should be somewhere in the "etc" directory either /etc/named.conf or /etc/bin/named.conf. But it ain't there.
I wonder if SuSE is doing something weird to it. (those crazy germans)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!