LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure DNS (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-dns-606488/)

mrahultiwari 12-13-2007 06:14 AM

How to configure DNS
 
hi
i want to know,how to configure Domain Name Server(DNS) on linux ES 4.0 update 4

acid_kewpie 12-13-2007 06:25 AM

that'll be BIND, so you probably want to get a book about BIND, or read the BIND howto at tldp.org. there are configuration tools within RHEL which you'll see in the gnome menus (or run system-config-bind i assume), but they are really quite limited. if BIND is not already installed, it'll be on your distro CDs / DVD ready and waiting.

Dinithion 12-13-2007 06:26 AM

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

That one is a great starting point. And don't just skip to "a simple domain", you have to read "A resolving caching name server" for the rest to make sense ;)

tristanm 12-13-2007 07:21 AM

I found this page very helpful:
http://www.linuxhomenetworking.com/w...onfiguring_DNS

I run a Red Hat Enterprise Linux 5 server and I found that the best configuration tool was system-config-bind.

Editing the configuration files directly didn't seem to work for me although I don't know why.

salasi 12-13-2007 01:14 PM

As this is in the Linux Newbie sub-forum, I feel duty bound to point out:

- Other Domain Name Servers than bind exist

- Bind is probably the 'Swiss army knife' of DNS (lots of options, can do more or less anything a DNS should do, but heavier in weight and more difficult to configure than some of the lighter options)

- Usually, if your first attempt to configure it fails, its to do with 'chroot jails' and whether it has access to everything it needs

- Usually, if your first attempt to configure it succeeds, its due to your 'failure' to use a chroot jail to improve the security

- I'm using DNSMASQ, although Maradns is also a good option, which are lighter and easier to configure (either but or because they don't have the options), but BIND is probably a better option if you want something on your CV that will appeal to potential employers

although, having said all that, if your distro comes with only Bind, and your distro's config routines do a good job of setting it up, it may be the best option

hth


All times are GMT -5. The time now is 05:24 PM.