LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Dns (https://www.linuxquestions.org/questions/linux-general-1/dns-211274/)

Obie 07-29-2004 09:46 PM

Dns
 
Hi,

I did post a query yesterday requesting a step by step guide on configuring named.conf. I am still having a hard time following the example provided although my understanding in compariosn with yesterday's is much better. This is what I have understood so far.

1) I understand that named is stored within /var/named
2) I am aware I must edit /etc/named.conf
3) What I don't understand is what is the /etc/resolve.conf and /etc/nsswitch.conf for?
3) I also understand I create a zone entry within /etc/named.conf and then create a corresponding flat-text file e.g. /var/named/zones/domainname. This is a forward request file and I create a corresponding reverse request file.
4) What I don't get is what entries I must write into /etc/named.conf and what values in /var/named/domainname.

Can some please take me through it step by step? I would truly appreciate it.

druisgod 07-29-2004 10:24 PM

First Link

Second Link


Hope these links help :D

Druisgod

frob23 07-29-2004 10:45 PM

One of the best introductions to DNS and named I have ever seen was at:

http://www.mclink.it/personal/MG2508.../chap-dns.html

This chapter is specific to NetBSD but almost everything it says applies to Linux as well. At the very least, I would recommend you skim it (paying special attention to the files section as your question relates to that). It is not very long and everything in it can be applied to linux. The only thing it looks like you would have to change is one option
Quote:

directory "/etc/namedb";
would be
directory "/var/named";
And the way you start, stop, and restart named (the linux method is different from the BSD method.

I have actually used this site as a reference to help me setup DNS on a Linux box. It is worth a read-over.

mobassir 07-30-2004 02:54 AM

hello
i am also working on DNs and still facing hard time
you can visit fillowing link to understad and configure dns with good examples

http://www.siliconvalleyccie.com/lin...dns-static.htm

godluck

Obie 07-30-2004 03:03 AM

Thank you to both frob23 & mobassir for the links you provided. I'm just going through them right now and hopefully I'll get my head around how DNS works.


All times are GMT -5. The time now is 10:42 AM.