Guest User!

You are not Sophos Staff.

[8.285][BUG][FIXED] DNS Host definitions won't update if DNS cache is flushed

I'm using an ACC instance on Amazon EC2.  A few days ago, I received an email warning that the cluster-host was degraded and would be taken down, so I should stop/start my instance to move it to another cluster.  Of course, this resulted in the ACC having a different public IP and public FQDN.

No problem, as I already had created a CNAME entry in public DNS for acc3.mydomain.com.  I updated that with the new Amazon FQDN, but still had no joy in my Astaro, even today, several days after the change!  I realized that I hadn't changed the entry in my internal DNS (see DNS Best Practice).  Once I had changed that and flushed the caches both there and on the Astaro, ping from 'Support >> Tools' gave the correct result for acc3.mydomain.com.

However, nothing changed for the DNS host definition.  I opened in and saved it - still the old address.

Finally, I created a new DNS Host definition using acc3.mydomain.com.  As soon as confd finished displaying the new definition, I saw that the old definition had updated.  I suspect that this behavior has existed for awhile.

Cheers - Bob
Parents
  • Interesting.  The syslog seems to have lines from two different places, with rsyslog lines being delayed from a bit over 2 hours to a bit less than three hours.  The fifth and sixth lines today are:

    2011:11:29-00:00:08 astaro postgres[23033]: [3-1] LOG:  unexpected EOF on client connection
    2011:11:28-20:22:57 astaro rsyslog: action 3 queue[DA]: size=0 enqueued=23061 full=22749 maxqsize=1251



    Outside of that seeming anomaly, there's nothing other than cron jobs for reporting during the time I was doing the above test.

    Standard public TTLs for our domain are 14400, but the problem is that I was in 'Support >> Tools', pinged acc3.mydomain.com and got the correct answer, yet got an incorrect answer when I pinged the pre-defined DNS Host definition.

    Why wouldn't the host definiton ask for resolution after I had flushed the DNS cache on the Astaro?  Plainly, this is an issue with WebAdmin as the tool asked for resolution of the FQDN when I entered that directly.  Shouldn't flushing the DNS cache force the TTLs to zero for DNS Hosts?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Interesting.  The syslog seems to have lines from two different places, with rsyslog lines being delayed from a bit over 2 hours to a bit less than three hours.  The fifth and sixth lines today are:

    2011:11:29-00:00:08 astaro postgres[23033]: [3-1] LOG:  unexpected EOF on client connection
    2011:11:28-20:22:57 astaro rsyslog: action 3 queue[DA]: size=0 enqueued=23061 full=22749 maxqsize=1251



    Outside of that seeming anomaly, there's nothing other than cron jobs for reporting during the time I was doing the above test.

    Standard public TTLs for our domain are 14400, but the problem is that I was in 'Support >> Tools', pinged acc3.mydomain.com and got the correct answer, yet got an incorrect answer when I pinged the pre-defined DNS Host definition.

    Why wouldn't the host definiton ask for resolution after I had flushed the DNS cache on the Astaro?  Plainly, this is an issue with WebAdmin as the tool asked for resolution of the FQDN when I entered that directly.  Shouldn't flushing the DNS cache force the TTLs to zero for DNS Hosts?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
  • Interesting problem you have there Bob. However you are killing me with 14400 default TTL setting[:D] Make that dns work and set it 10-20 minutes and live on the wild side[;)] 

    Only dns hosts I have (facebook etc)have very short TTLs so usually don't see the problem you are having.

    By the way I have many EOF errors, I still don't know what them[:S]
    gatekeeper:/var/log # tail -100 system.log |grep EOF
    2011:11:29-16:23:29 gatekeeper postgres[8984]: [2-1] LOG:  unexpected EOF on client connection
    2011:11:29-17:04:46 gatekeeper postgres[10946]: [2-1] LOG:  unexpected EOF on client connection
    2011:11:29-17:41:09 gatekeeper postgres[12634]: [2-1] LOG:  unexpected EOF on client connection


    Regards
    Bill