[7.904][BUG][FIXED] DNS resolver not updating DNS hosts

Hi,
I have several Site2Site tunnels to endpoints with dynmic IP adresses and DynDNS hostnames. Since 7.904 the hosts aren't updated anymore.

Sending a HUP to the dns-resover.plx reveals the correct new IP in it's database (/tmp/dnsresolver.db) but the definition is still with the old one:

(actual address and hostname replaced by [...])

$VAR1 = {

...
          'REF_wIcoTXHvQY' => {
                                'ipv6' => {},
                                'ipv4' => {
                                            '[REMOTESITE_CORRECT_NEW_IP]' => {
                                                                'ttl' => 60,
                                                                'age' => 2
                                                              }
                                          },
                                'timeout' => 180,
                                'hostname' => '[REMOTESITE].dyndns.org',
                                'type' => 'dns_host'
                              }
        };


/tmp/dnsresolver.log says:

...
2010-05-02 11:03:55 Resolving REF_wIcoTXHvQY :: [REMOTESITE].dyndns.org
...
2010-05-02 11:05:00 Resolving REF_wIcoTXHvQY :: [REMOTESITE].dyndns.org
...
2010-05-02 11:06:06 Resolving REF_wIcoTXHvQY :: [REMOTESITE].dyndns.org


After doing a "/var/mdw/scripts/dns-resolver restart" the host is corretly updated and everything works fine until the next IP change.

dnsresolver.log after restart of dns-resolver:

...
2010-05-02 11:07:17 Resolving REF_wIcoTXHvQY :: [REMOTESITE].dyndns.org
...
2010-05-02 11:07:17 Updating REF_wIcoTXHvQY :: [REMOTESITE].dyndns.org


I hope this helps.

Regards,
Henning
Parents Reply Children
No Data