LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ??? DNS or Bind Question ??? (https://www.linuxquestions.org/questions/slackware-14/dns-or-bind-question-27025/)

Viper 08-02-2002 02:27 AM

??? DNS or Bind Question ???
 
Well in the Linux Advanced Reference once again gives me false info.
it says to type in either

# /usr/sbin/named

or

/usr/sbin/named

anyway the instructions are unclear so I tried both and neither work.

how do I configure DNS ?
I know how to configure DNS, just can't figure out what file to open to input settings.

MartBrooks 08-02-2002 02:44 AM

Buy the excellent "DNS & BIND" book on O'Reilly press. It will tell you all you need to know.

Regards

naz 08-02-2002 02:50 AM

Please read the DNS-HOWTO:

http://tldp.org/HOWTO/DNS-HOWTO.html

This explains how to configure BIND - you may also need to install the BIND package for named to work. If you're feeling brave, you might want to try djb-dns - http://www.djbdns.org/ - but this is probably slightly advanced.

naz

Viper 08-02-2002 02:55 AM

That how to doesn't seem to have any accurate info either, how do I check and see if I Have it installed, I installed the "Install Everything" option, maybe it didn't install Bind?

Does anybody know if Bind came with Slackware 8.1 ?

kroniq 08-02-2002 04:25 AM

Bind did come with Slackware 8.1, in the n diskset, bind-9.2.1-i386-1.tgz.

You can check which packages you have installed by looking in /var/log/packages.

Bind isn't much fun to setup, so if you don't need a full blown name server maybe you should look something different, unless of course you enjoy configuring trickey software ;)

Viper 08-02-2002 10:05 AM

Actually as messed up as it may sound " I DO" I just don't like not being able to figure out where to go in the machine to get something done, then I spend money and time finding books and none of the commands work, then it gets to me a little bit, but hey I've got time, I will learn...

I'm just messing around trying to get things figured out right now, as soon as I feel confident I know more about what I'm doing I'm setting up 2 DNS Servers.

I've had my own Windows DNS Servers, and from what I've seen Bind "looks" easier.

Thanks again, I'll check it out...

Viper 08-02-2002 10:22 AM

I've already spent 3 nights trying to figure out how to get into bind, I think that is the hardest part, "figuring out how to get in"...

Viper 08-02-2002 07:30 PM

Does anyone know where the configuration file(s) would be in slackware 8.1 for bind 9.2.1 ?

Excalibur 08-02-2002 09:45 PM

The program itself is /usr/sbin/named. The configuration file is /etc/named.conf. Most of the other loadable files are stored in /var/named directory currently from the looks of it. i am used to storing them in /etc/bind myself. But that is probably from something ancient. The default named.conf appears to be a cacheing only server. This file is really pretty simple in itself. It just tells the named what to load and how to reference it. The domain files themselves are the hard part in the /var/named directory. The DNS-HOWTO would be the best place to start on learning the layout and specs for them. It should include some examples to get basic options rolling.

Good luck and enjoy!

Excalibur 08-02-2002 09:58 PM

I checked and the HOWTO that comes with Slack 8.1 states version 9.0 from last December, fairly current. It is located in the /usr/doc/Linux-HOWTOs directory as DNS-HOWTO. It is current enough that I would expect everything to work as stated.

Don't let it overwhelm you. Print it out and take about a week to study it. It will make sense and be fairly simple to maintain once you understand it.

Viper 08-03-2002 10:25 PM

I'll check it out, thanks...

Viper 08-04-2002 04:10 PM

Sounds Great, but their is no viewer for it in the GUI and even as root at the command prompt access is denied, so someone else may have more controll over this machine as far as I know ??? obviously root doesn't mean much on this system. Anyway that How To is Totally inaccessible on my machine for some reason...

Excalibur 08-04-2002 08:03 PM

Well, perhaps you didn't install the HOWTOs then. The file is normally just a plain text file. Anyway, Naz posted a valid link earlier in the thread for the same HOWTO in HTML format on The Linux Documentation Project.

Viper 08-05-2002 02:56 AM

it is there, I just don't know how to open it, in the command line it is listed in the directory and in the GUI I can click on it, just can't open it...

lopezjo49 08-05-2002 03:26 AM

Not sure if this is what you are looking for. I've set up 2 RHat DNS servers in the past. Most of the files are in /var/named and I used a script called h2n, I think it's host to named, to convert my host file to the proper named files and their formats.

Maybe this helps?
http://www.gormand.com.au/tools/dnstool/guide.html


All times are GMT -5. The time now is 09:59 PM.