containers / aardvark-dns

Authoritative dns server for A/AAAA container records. Forwards other request to host's /etc/resolv.conf
Apache License 2.0
176 stars 31 forks source link

When forward dns request to outside name server, `aardvark-dns` should check and ignore its own listening IPs or error out, to avoid infinite recursion. #415

Open xiaoyar opened 9 months ago

xiaoyar commented 9 months ago

aardvark-dns should be improved as the title mentioned, more details can be found here: https://github.com/containers/netavark/issues/855.

xiaoyar commented 9 months ago

Another improvement we can expect is to make sure the name servers in dns_resolver to be unique, otherwise if a name server fails to resolve and it duplicates in the list, it may be tried more than once, that's bad for performance.