1753691 Members
5378 Online
108799 Solutions
New Discussion юеВ

Re: DNS master fails

 
Jestin John Chacko
Regular Advisor

DNS master fails

Dear,

For the purpose of testing i had configure two of my servers as DNS master and slave and another server as client.internet is not there as these servers are in the same ip range of 192.16.xx.xx i hope this will work because they are interconnected through vlan.

From the client side i had tried nslookup for the master server

i am getting the output

*** Can't find server name for address 192.16.163.39Server failed
Name Server: server2.my.in
Address: 192.16.163.40

Trying DNS
Name: server1.my.in
Address: 192.16.163.39


my /etc/nsswitch.conf

contains the entry

hosts: dns[NOTFOUND=return] files

and my /etc/resolv.conf file looks like

search my.in
nameserver 192.16.163.39
nameserver 192.16.163.40

why i am getting such an error at the starting of the output pls help in this
3 REPLIES 3
Horia Chirculescu
Honored Contributor

Re: DNS master fails

Hello,

On each system,

(on server1) ping server1.my.in

(on server2) ping server2.my.in

works?

If not, you should review your TCP/IP settings and

In /etc/nsswitch.conf please consider changing the order as in:

hosts: files dns

You should check your DNS configuration.

If this is "For the purpose of testing", you should try first to clear things in small steps.

You should setup first a master DNS and check to see if the resolver works as expected (run tests on local machine and then on the other one - the one that you will make your slave DNS)

If this basic setup works, maybe you have a problem with your master/slave setup. Check your zone definition. Check if you do use some encription to transfer zones between master and slave. (forget some encription key maybe?)

Horia.
Best regards from Romania,
Horia.
sahir_1
Frequent Advisor

Re: DNS master fails

Hi,


Please do the following.

1. ping 192.16.163.39

you must get a responce

2. change the entry in /etc/nsswitch.conf

hosts: files[NOTFOUND=return] dns

3. check rpcinfo -a in server

4. check and confirm in Master server that nslookup is working locally.


Post all this information

All The Best

Sahir
Brian Hackley
Honored Contributor

Re: DNS master fails

Hi,
Check /var/adm/syslog/syslog.log for errors from named startup and also check your config file with /usr/sbin/named-checkconf. Check your zone files with /usr/sbin/named-checkzone. Some other tips may help from the HP manual:
http://docs.hp.com/en/5969-7067/index.html
Hope that helps.
Ask me about telecommuting!