[Dnsmasq-discuss] No Reverse ipv6 DNS lookups with dnsmasq?

Simon Kelley simon at thekelleys.org.uk
Thu Jan 2 19:26:45 GMT 2014


On 02/01/14 15:55, Franzeck Florian wrote:
> Hi,
>
> I was playing around with ipv6 today and found that dnsmasq doesnt
> generate reverse dns ptr entries from dns entries in /etc/conf/dhcp

That's not a standard dnsmasq configuration file. What does it contain?

Dnsmasq creates ptr records for /etc/hosts entries and DHCP leases with 
IPv6 addresses, it works exactly the same as for IPv4.

Simon.


>
> root at tomato:~# nslookup 10.1.1.1
> Name:      10.1.1.1
> Address 1: 10.1.1.1 tomato.heim.netz
>
>
> root at tomato:~# nslookup fd00:0:0:101::1
> Name:      fd00:0:0:101::1
> Address 1: fd00:0:0:101::1
>
>
> root at tomato:~# ping6 tomato.heim.netz
> PING tomato.heim.netz (fd00:0:0:101::1): 56 data bytes
> 64 bytes from fd00:0:0:101::1: seq=0 ttl=64 time=0.460 ms
>
> root at tomato:~# ping tomato.heim.netz
> PING tomato.heim.netz (10.1.1.1): 56 data bytes
> 64 bytes from 10.1.1.1 <http://10.1.1.1>: seq=0 ttl=64 time=0.375 ms
>
> if i add  this to dnsmasq.conf, it just works!
> ptr-record=1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.d.f.ip6.arpa,tomato.heim.netz
>
> root at tomato:/tmp# nslookup fd00:0:0:101::1
> Name:      fd00:0:0:101::1
> Address 1: fd00:0:0:101::1 *tomato.heim.netz*
>
>
> is there a way to get dnsmasq to generate ptr-records on its own?
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list