dns-proxy-server icon indicating copy to clipboard operation
dns-proxy-server copied to clipboard

Support for Type AAAA Entries (IPv6)

Open Sajito opened this issue 4 years ago • 1 comments

What is expected

It would be nice if we could specify type AAAA entries, to make the dns server resolve hostnames to ipv6 addresses.

What is Happening

Right now there is no way to add any type AAAA entries, making it impossible to resolve a hostname to the ipv6 address.

Sajito avatar Sep 02 '20 13:09 Sajito

I would love to see this functionality too. My Docker network is dual stack, and it would be great if the DNS server could return both the v4 and v6 addresses when a container is queried.

4ntsu avatar May 18 '22 09:05 4ntsu

Yeah it would be a nice feature.

I'm working to increase Mac and windows compatibility right now, this one could be done in sequence

mageddo avatar Mar 03 '23 12:03 mageddo

Hey guys, I'm releasing #390 (version 3.15) snapshot right now, it will available for use in 10 minutes, it will add ipv6 support for docker containers solving, can you validate it?

Will also release localdb and host.docker solvers in the next days.

Thanks in advance.

Example:

$ nslookup -po=8053 postgres-11.docker 127.0.0.1
Server:		127.0.0.1
Address:	127.0.0.1#8053

Non-authoritative answer:
Name:	postgres-11.docker
Address: 172.157.5.2
Name:	postgres-11.docker
Address: 2001:db8:abc1::242:ac11:3

mageddo avatar Mar 21 '23 23:03 mageddo

Working perfectly here with the docker tag 3.15.2-snapshot. Muitissimo obrigado!

$ nslookup bookstack.docker
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	bookstack.docker
Address: 192.168.50.101
Name:	bookstack.docker
Address: xxxx:xxxx:xxxx:xxxx::c

4ntsu avatar Mar 22 '23 16:03 4ntsu

Working perfectly here with the docker tag 3.15.2-snapshot. Muitissimo obrigado!

$ nslookup bookstack.docker
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	bookstack.docker
Address: 192.168.50.101
Name:	bookstack.docker
Address: xxxx:xxxx:xxxx:xxxx::c

Tmj, man

mageddo avatar Mar 22 '23 20:03 mageddo

3.15.5-snapshot introduces host.docker IPV6 support

nslookup -po=8053 host.docker 127.0.0.1
Server:		127.0.0.1
Address:	127.0.0.1#8053

Non-authoritative answer:
Name:	host.docker
Address: 192.168.0.128
Name:	host.docker
Address: 2804:14x:xx:99a3:xxxx:b9b5:xxxx:ac36

mageddo avatar Mar 29 '23 03:03 mageddo

The complete feature was implemented since 3.15.7-snapshot, see #389 for more details. Soon a final release, if you have any feedback please let me know opening an issue.

mageddo avatar Mar 31 '23 04:03 mageddo