Guest User!

You are not Sophos Staff.

[9.165][BUG] Strange DNS Results. DNS not updating Groups?

Hi All
My POP3 Incoming mail stopped working.
After a few checks the IP Address had changed at the Host end. I did various DNS checks to confirm this. I flushed the UTM DNS Cache.
What I see is that the DNS Group for mail.***.net.au shows the old address.
I had a DNS Host for the same address but it showed the correct IP Address.
See Pic.

Mark
Parents
  • Hi,

    I was just able to reproduce this behviour. With one little caviat.

    If I change the DNS IP, I see indeed that the DNS Group gets updated right away.
    This makes sense because DNS Groups are so to say greedy and try to map all known addresses of this host.
    This makes them very verbose and busy and potentially quite hard to process.

    DNS Hosts are there to be more stable mappings that don't have to update every single time the DNS entry changes. They map to one address only, and they change only when required.
    This is, why you will only see the DNS Host change status after the TTL of the DNS record expired.

    I suspect that this was what you saw here. The DNS Host did not update but the DNS Group did. And I can see how this my have looked like a bug. But I suspect that if you waited for the TTL of that host entry to expire, you would have seen the DNS Host change too.

    For a single host enty like in this test setup the observed behaviour is of course less than useful. But this is a common problem with longer DNS TTL and not exactly specific to this topic.
    Imagine however how the situation would be with a round robin load balanced host, the DNS Host would have to update every time the address changes, which could be very often indeed.

    As you can see, I'm inclined to call this expected behviour and I hope you can follow my reasoning.
    But if I happen to misunderstood you, please let me know so we can investigate this further. Also if there are any questions or if anything is unclear, please ask.
    Because right now I'm calling this a feature and not a bug under the assumption that if you had waited for the TTL to expire, the DNS Host would have changed IP as well.
Reply
  • Hi,

    I was just able to reproduce this behviour. With one little caviat.

    If I change the DNS IP, I see indeed that the DNS Group gets updated right away.
    This makes sense because DNS Groups are so to say greedy and try to map all known addresses of this host.
    This makes them very verbose and busy and potentially quite hard to process.

    DNS Hosts are there to be more stable mappings that don't have to update every single time the DNS entry changes. They map to one address only, and they change only when required.
    This is, why you will only see the DNS Host change status after the TTL of the DNS record expired.

    I suspect that this was what you saw here. The DNS Host did not update but the DNS Group did. And I can see how this my have looked like a bug. But I suspect that if you waited for the TTL of that host entry to expire, you would have seen the DNS Host change too.

    For a single host enty like in this test setup the observed behaviour is of course less than useful. But this is a common problem with longer DNS TTL and not exactly specific to this topic.
    Imagine however how the situation would be with a round robin load balanced host, the DNS Host would have to update every time the address changes, which could be very often indeed.

    As you can see, I'm inclined to call this expected behviour and I hope you can follow my reasoning.
    But if I happen to misunderstood you, please let me know so we can investigate this further. Also if there are any questions or if anything is unclear, please ask.
    Because right now I'm calling this a feature and not a bug under the assumption that if you had waited for the TTL to expire, the DNS Host would have changed IP as well.
Children
No Data