Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-25-2008, 02:17 PM   #1
LQ Newbie
Registered: Apr 2008
Location: New Delhi, India
Distribution: RHEL 5
Posts: 13

Rep: Reputation: 0
DNS and types

Hi, please help me on this
I m making DNS by using following configurations

1. Install related rpms " bind , bind-utils, bind-chroot caching-namserver"
2. cd /var/named/chroot/etc/
3. cp named.caching-nameserver.conf named.conf
4. service named configtest
5. service named restart
6. ls -lZ
7. chown root:named named.conf
8. chmod 640 named.conf
9. restorecon named.conf
10. ls -lZ
11. service named configtest
12. service named start
13. chkconfig named on
14. service iptables stop ( if on )
15. vi named.conf # For caching-nameserver DNS
#inside such file go for 'option' section
listen-on port 53 { localhost; 192.168.0.X; } ; #where X is your PC ip
allow-query { localhost; ; } ;
allow-transfer { localhost ;; };
forwarders {; } ;
forward only ;

16. service named configtest
17. service named restart
18. netstat -tulpn | grep named
19. service named configtest
20. service named restart

21. vi /etc/sysconfig/network-scripts/ifcfg-eth0
22. PEERDNS=no #prevent dhclinet to overwriting changes in such file
23. vi /etc/resolv.conf
24. search

25. service named configtest
26. service named restart
27. service network restart
#Adding zone data
28. create zone files in /var/named/chroot/etc/named.rfc1912.zones
Note : -> zone files are attached with mails
29.After create zones ..
cd /var/named/chroot/var/named
chown root:named
chcon -R
cp named.local
chown root:named
chcon -R --reference=named.local

30. service named configtest
31. service named restart

This includes some other files like and
can anyone tell me what kind of DNS is this ,
And how this one works
Old 07-25-2008, 02:25 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Forward zones are "names to IPs", reverse zones are "IPs to names".



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
conflicting redeclaration of sys/types.h and linux/types.h schmil Programming 6 12-11-2008 03:02 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 10:59 PM
Two return types Ephracis Programming 12 01-16-2007 07:23 AM
Types jhbumby Linux - Newbie 4 10-19-2005 07:47 AM
Types of Languages ? indian Programming 2 08-17-2004 03:12 PM

All times are GMT -5. The time now is 11:48 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