LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-05-2008, 04:52 AM   #1
cornish
Member
 
Registered: May 2005
Location: Sussex, England
Distribution: Ubuntu 7.10
Posts: 131

Rep: Reputation: 15
Dns


I'm struggling to understand BIND on a Linux box

I know that at my work we use a Linux server for DNS so I presume that is bind. What I don't understand is where the records are stored and where I can create manual entries and delete entries.

At my old work they used windows, and I could happily add manual CNAME records for certain situations or delete records that were out of date.

Can any one explain to me how I view what records are stored on my Linux DNS server?
 
Old 06-05-2008, 06:58 AM   #2
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 39
The main configuration file for bind is /etc/named.conf. Have a look at it, and you'll find the path to the zone files where the actual records are stored. That mostly should be in a place like /var/named.
You'll need to look up some guide for the rest of the info. e.g. http://www.howtoforge.com/traditional_dns_howto
 
Old 06-05-2008, 07:02 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It depends on your setup, and mine runs chrooted, so the files are all in /var/named/chroot/var/named. There I have the zone files along the lines of "named.example.com".

For non chrooted versions, I guess /var/named would be the location, or versions that run bind as bind rather than named (I have no idea why RH versions refer to named even though it's really bind), I would hesitate a guess at /var/bind

Look for named.conf,bind.conf or bind9.conf - it should tell you what the zone files are called
 
Old 06-05-2008, 08:55 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,064

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
At home you've probably got a caching nameserver. In other words this only keeps temporary copies of information that it finds elsewhere. At work, you may be both caching (for say the 'net) and being the primary reference (for some, or all, internal servers).

By design bind does not keep on disk copies of the stuff for which it is not the master reference.

Try reading the reference material suggested (or DNS and Bind by Albitz and Liu) and I'm sure you'll understand.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 06:13 PM
i want make DNS server on fedora 8 opreting system plz tell me what is file use DNS nitin gupta Linux - Newbie 2 02-20-2008 06:01 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 10:59 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration