LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2004, 09:46 PM   #1
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Rep: Reputation: 30
Question 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.
 
Old 07-29-2004, 10:24 PM   #2
druisgod
Member
 
Registered: Jun 2004
Location: Maine
Distribution: LFS Mint OS, LFS, CENTos,
Posts: 119

Rep: Reputation: 18
First Link

Second Link


Hope these links help

Druisgod
 
Old 07-29-2004, 10:45 PM   #3
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
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.
 
Old 07-30-2004, 02:54 AM   #4
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
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
 
Old 07-30-2004, 03:03 AM   #5
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration