November 25, 2024, 09:55:18 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: CACHING NAMESERVER(DNS) CONFIGURATION IN RHEL - 5  (Read 17960 times)

Offline ashokroy20002000

  • New Member
  • Posts: 2
CACHING NAMESERVER(DNS) CONFIGURATION IN RHEL - 5
« on: January 07, 2008, 06:38:49 PM »
Hello! All,
             I wish you a Happy & Prosperous New Year 2008

     Can any one help me how to configure DNS in RHEL 5, When I am istalling it shows a message after nslookup query for DNS
                                                        Server  :  Unknown
                                                        Name    : 192.0.1.4(#53)

configure make- 
                   
1) change the file caching-nameserver.conf file to named.conf
edit)- listen-on port 53 { 127.0.0.1; 192.0.1.4; };
        allow query { localhost; 192.0.1.0/16; };

2) #vi named.rfc1912.conf
edit)- (localhost) to example.com
         (localhost.zone) to example.zone

&       (0.127-arp-back) to 1.0.192-arp-back
         (localhost.local) to example.local

3) create example.zone & example.local within the directory /var/named/chroot/var/named/ with copy localhost.zone & localhost.local file

4) edit example.zone file
                    SOA    station1.example.com.   root.station1.example.com.
                       
                            NS     station1.example.com.
example.com.          IN A   station1.example.com.
station1                 IN A   station1.example.com. 

5) edit example.local file
                    SOA    station1.example.com.   root.station1.example.com.

                            NS     station1.example.com.
              4            PTR    192.0.1.4

6) change the hostname to station1.example.com

7) make sure SElinux is disabled & iptables is blank.

AFTER CONFIGURE THIS THE DNS QUERY FROM MY OWN SYSTEM IS OK & FINE WITH DIG & NSLOOKUP BUT FROM ANOTHER SYSTEM IT SHOWS THE MESSAGE-

                 Server : Unknown
                 Name  : 192.0.1.4


PLZ HELP ME WITH BEST ADVICE
 






« Last Edit: January 09, 2008, 05:57:19 AM by ashokroy20002000 »

Offline darshana

  • Linux Noob !
  • *
  • Posts: 4
Re: CACHING NAMESERVER(DNS) CONFIGURATION IN RHEL - 5
« Reply #1 on: January 11, 2008, 12:24:15 PM »
Dear,

Here I am sending link, it may be solve your problem

http://www.linuxsolved.com/linux-forums/linux-servers-support/setup-dns-named-for-red-hat-enterprise-5-howto-t2883.0.html


With  Regard



Hello! All,
             I wish you a Happy & Prosperous New Year 2008

     Can any one help me how to configure DNS in RHEL 5, When I am istalling it shows a message after nslookup query for DNS
                                                        Server  :  Unknown
                                                        Name    : 192.0.1.4(#53)

configure make- 
                   
1) change the file caching-nameserver.conf file to named.conf
edit)- listen-on port 53 { 127.0.0.1; 192.0.1.4; };
        allow query { localhost; 192.0.1.0/16; };

2) #vi named.rfc1912.conf
edit)- (localhost) to example.com
         (localhost.zone) to example.zone

&       (0.127-arp-back) to 1.0.192-arp-back
         (localhost.local) to example.local

3) create example.zone & example.local within the directory /var/named/chroot/var/named/ with copy localhost.zone & localhost.local file

4) edit example.zone file
                    SOA    station1.example.com.   root.station1.example.com.
                       
                            NS     station1.example.com.
example.com.          IN A   station1.example.com.
station1                 IN A   station1.example.com. 

5) edit example.local file
                    SOA    station1.example.com.   root.station1.example.com.

                            NS     station1.example.com.
              4            PTR    192.0.1.4

6) change the hostname to station1.example.com

7) make sure SElinux is disabled & iptables is blank.

AFTER CONFIGURE THIS THE DNS QUERY FROM MY OWN SYSTEM IS OK & FINE WITH DIG & NSLOOKUP BUT FROM ANOTHER SYSTEM IT SHOWS THE MESSAGE-

                 Server : Unknown
                 Name  : 192.0.1.4


PLZ HELP ME WITH BEST ADVICE