Where do the MyDNS logs go, which file can they be found in? I setup MyDNS and set the log option to LOG_DAEMON. I did a 'cat messages | grep mydns' and found only a few Mydns log entries. Are there any other files which contains the logs? I setup transfer (using normal dns transfer , not replication) to another server, expecting to see some messages about attempts to transfer zones but found nothing. I have configured the secondary servers IP in the Zone Transfers field and set the allow fields as below, but nothing is happening. allow-axfr = yes # Should AXFR be enabled? allow-tcp = yes # Should TCP be enabled? allow-update = yes # Should DNS UPDATE be enabled? I am using 1.1.0 so I expect transfers to work. Any ideas at all?
I configured the logs restarted the primary server, but the logs there are empty other than a problem with mysql not starting, which I fixed. Apparently mydns starts before mysql. What I am not sure of is whether the primary that contacts the secondary to send updates or whether it is the secondary that queries the primary for updates and the allow-xx and tcp settings that are required on both. Below is the secondary's log, none of them show any signs of attempting to send or receives updates: Nov 20 00:51:18 dnsone mydns[7156]: mydns 1.1.0 started Mon Nov 20 00:51:18 2006 (listening on 3 addresses) Nov 20 01:31:08 dnsone mydns[7156]: up 39m50s (2390s) 0 questions (0/s) NOERROR=0 SERVFAIL=0 NXDOMAIN=0 NOTIMP=0 REFUSED=0 Nov 20 01:31:08 dnsone mydns[7156]: terminated Nov 20 01:31:09 dnsone mydns[7294]: mydns 1.1.0 started Mon Nov 20 01:31:09 2006 (listening on 3 addresses) Nov 20 21:05:11 dnsone mydns[7294]: up 19h34m2s (70442s) 0 questions (0/s) NOERROR=0 SERVFAIL=0 NXDOMAIN=0 NOTIMP=0 REFUSED=0 Nov 20 21:05:11 dnsone mydns[7294]: terminated Nov 20 21:18:43 dnsone mydns[2440]: mydns 1.1.0 started Mon Nov 20 21:18:43 2006 (listening on 3 addresses) Nov 21 08:50:29 dnsone mydns[2440]: up 11h31m46s (41506s) 0 questions (0/s) NOERROR=0 SERVFAIL=0 NXDOMAIN=0 NOTIMP=0 REFUSED=0 Nov 21 08:50:29 dnsone mydns[2440]: terminated Nov 21 08:50:30 dnsone mydns[3799]: mydns 1.1.0 started Tue Nov 21 08:50:30 2006 (listening on 3 addresses) Nov 21 08:51:33 dnsone mydns[3799]: up 1m3s (63s) 0 questions (0/s) NOERROR=0 SERVFAIL=0 NXDOMAIN=0 NOTIMP=0 REFUSED=0 Nov 21 08:51:33 dnsone mydns[3799]: terminated Nov 21 08:51:34 dnsone mydns[3809]: mydns 1.1.0 started Tue Nov 21 08:51:34 2006 (listening on 3 addresses) Nov 21 08:52:57 dnsone mydns[3809]: up 1m23s (83s) 0 questions (0/s) NOERROR=0 SERVFAIL=0 NXDOMAIN=0 NOTIMP=0 REFUSED=0 Nov 21 08:52:57 dnsone mydns[3809]: terminated Nov 21 08:52:58 dnsone mydns[3821]: mydns 1.1.0 started Tue Nov 21 08:52:58 2006 (listening on 3 addresses) Nov 21 09:00:10 dnsone mydns[3821]: up 7m12s (432s) 0 questions (0/s) NOERROR=0 SERVFAIL=0 NXDOMAIN=0 NOTIMP=0 REFUSED=0 Nov 21 09:00:10 dnsone mydns[3821]: terminated Nov 21 09:00:11 dnsone mydns[3855]: mydns 1.1.0 started Tue Nov 21 09:00:11 2006 (listening on 3 addresses)
Your secondary DNS is also a MyDNS? I think zone transfers don't work when the secondary is MyDNS. You should use MySQL replication: http://www.howtoforge.com/mysql_database_replication