Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 22:22:41

Author Topic: DNS works but not resolving on slave after upgrade  (Read 1035 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
I got master server with main DNS and a slave server with 2nd and 3rd DNS

On slave server:

Code: [Select]
ps aux | grep dns
root     21673  0.3  0.0   4148   312 pts/3    S    17:24   0:00 tcpserver -vDRHl0 -x tcp.cdb -- 0.0.0.0 53 //bin/axfrdns
tinydns  21677  0.3  0.0   4108   316 pts/3    S    17:24   0:00 //bin/tinydns
root     21690  0.0  0.0 103304   832 pts/3    S+   17:25   0:00 grep dns

Seems to be all ok, but when I try to resolve domains on this server it shows:

"ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:" here 2nd and 3rd DNS.

When I change /var/tinydns/env to specific slave IP then it resolves, but when I do something like:

1.1.1.1/2.2.2.2

then djbdns refuses to start which didn't happend before :/
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: DNS works but not resolving on slave after upgrade
« Reply #1 on: 2013-08-17, 03:38:43 »
tinydns: fatal: unable to parse IP address 1.1.1.1/2.2.2.2
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: DNS works but not resolving on slave after upgrade
« Reply #2 on: 2013-08-17, 03:52:14 »
It seems 0.0.0.0 only binds to main server IP which is not used by my DNS servers.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: DNS works but not resolving on slave after upgrade
« Reply #3 on: 2013-08-17, 03:57:29 »
Resolved this multiple IP's issue by restoring /bin/tinydns from backup (old version).

Now the trouble is that configs are only rebuild on master server not on slave server:

Code: [Select]
Looks like your nameservers do not agree on the SOA serial. Ths SOA records as reported by your nameservers:
2.2.2.2 ->  2013081515
1.1.1.1 ->  2013081618
3.3.3.3 ->  2013081515
This can cause some serious problems that is why you should fix this asap.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.046 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM