Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th November 2006, 21:39
voipfc voipfc is offline
Junior Member
 
Join Date: Nov 2006
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default Where do MyDNS logs go?

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?
Reply With Quote
Sponsored Links
  #2  
Old 27th November 2006, 14:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please check the log files in /var/log.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th November 2006, 16:10
voipfc voipfc is offline
Junior Member
 
Join Date: Nov 2006
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default

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)




Quote:
Originally Posted by falko
Please check the log files in /var/log.
__________________
The mental attitude whose nature is resolution
Is but one in this world, son of Kuru;
For many-branched and endless
Are the mental attitudes of the irresolute.

Ch 2.41
Reply With Quote
  #4  
Old 28th November 2006, 16:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MyDNS and ISPConfig CoDonCo General 3 27th July 2006 08:25
MyDNS / DNSCache problem insubordinate HOWTO-Related Questions 1 5th July 2006 11:01
Problem with logs minskog Installation/Configuration 1 23rd May 2006 19:10
MyDNS rude awaking kaptk2 HOWTO-Related Questions 16 19th May 2006 21:29
MyDNS CentOS start on Reboot kaptk2 HOWTO-Related Questions 8 3rd April 2006 04:54


All times are GMT +2. The time now is 00:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.