HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   MyDNS notify problem (http://www.howtoforge.com/forums/showthread.php?t=55477)

sgabor 20th December 2011 14:48

MyDNS notify problem
 
3 Attachment(s)
Hi there,

I have a small but annoying problem, and I can't find any solution for this.
I have ISPConfig Version: 3.0.4.1 installed system with MyDNS (mydns (mydns) 1.2.8.31 (MySQL 5.1.41)) on Ubuntu 10.04 (32bit) - Linux neo.itcorp.hu 2.6.32-37-generic-pae #81-Ubuntu SMP Fri Dec 2 22:24:22 UTC 2011 i686 GNU/Linux.

The problem is when I setting up a new DNS domain in ISPconfig interface, that it generated without problem, but the secondary DNS system isn't notified, and also the new domain isn't created.
In the 2nd. system I tried to find the problem, but I can't find anything in the logs. It looks no package sent from main server to 2nd server.

I already enabled allow-update, allow-axfr, notify-enabled and notify-source options in /etc/mydns.conf.
For debugging I changed the log facility to logging to a file (/var/log/mydsn.log). In the log file I find these lines:
Quote:

mydns[737]: mydns: mydns 1.2.8.31 started Tue Dec 20 12:55:38 2011 (listening on 2 addresses)
mydns[739]: mydns: bind (UDP): 79.172.193.104:0 - Érvénytelen argumentum(22): Érvénytelen argumentum
mydns[739]: mydns: 79.172.193.104: SOA fiestasport.hu. (11) NEED_ANSWER, High Priority IO Driven Task: FORMERR in query - NOTIFY is currently not a supported opcode
mydns[739]: mydns: message from 64.85.160.91 not a query response or for wrong opcode: Siker
mydns[739]: last message repeated 22 times
Sorry for Hungarian words, I translated for you:
"Érvénytelen argumentum" means Invalid arguments
So I think the problem is
Quote:

mydns[739]: mydns: bind (UDP): 79.172.193.104:0 - Invalid arguments(22): Invalid arguments
but I don't know how to sole this.
In log entries the 64.85.160.91 address is the secondary server.

I tried to reinstall the mydns service and after reinstall updated the ISPconfig to reconfigure services, but no luck... :mad:

This system is a live system, and I installed about 1,5 years ago.

I attached the file with contain ipchains rules, mydns.conf.txt and mydns.log.txt.

Please help me to solve this problem.

Thanks a lot...

Gábor

falko 21st December 2011 11:49

Do you also use MyDNS on the slave? Is the slave an ISPConfig mirror, or is there no ISPConfig on that system?

sgabor 21st December 2011 12:35

hi falko,
 
Quote:

Originally Posted by falko (Post 270044)
Do you also use MyDNS on the slave? Is the slave an ISPConfig mirror, or is there no ISPConfig on that system?

The 2nd. DNS system is powerdns, and this is not a mirror. Just only a simple CentOS system in the world. It's already configured to accept any communcation over TCP and UDP port 53 from my ISPconfig system (MyDNS).

Thanks,

Merry X-Mass

Gábor

till 21st December 2011 13:21

Mydns can not notify another system for dns changes, for that reason we switched to bind as default dns system in ispconfig. You should consider to replace mydns with bind or as alternative you use the ispconfig dns server mirroring features which would require to install ispconfig on the seconfdary dns too as slave server and let ispconfig configure powerdns.

sgabor 21st December 2011 18:01

hi till,
 
Thanks a quick reply. :)
I'm not happy whit this, but I have to accept, and I will reconfigure the system with bind.

Thhaks a lot, again...

Merry X-Mass.

Gábor


All times are GMT +2. The time now is 05:16.

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