Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 15

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, 05:58 AM   #2
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.
Old 06-05-2008, 06:02 AM   #3
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 "".

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, 07:55 AM   #4
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,068

Rep: Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895
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.


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 05: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 05:01 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 09:04 AM > Forums > Linux Forums > Linux - Networking

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

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