Modify

Opened 2 years ago

Last modified 2 years ago

#20809 new defect

Domain name not added to local IPv6 queries

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: Cc:

Description

For A records, dnsmasq properly adds the domain name to the host name, so I can query both the hostname alone and the FQDN:
$ dig A ws ws.site.net
...
ws. 0 IN A 192.168.0.175
...
ws.site.net. 0 IN A 192.168.0.175

But for AAAA, only the plain hostname works:
$ dig AAAA ws
...
ws. 0 IN AAAA 2001:x:x:1::21f
$ dig AAAA ws.site.net
...
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
i.e. no actual answer when I query it using the FQDN.

For reverse lookups, looking up the IPv4 address of the host returns the whole FQDN, while the IPv6 address returns only the hostname:
$ nslookup 192.168.0.175
175.0.168.192.in-addr.arpa name = ws.site.net.
$ nslookup 2001:x:x:1::21f
...ip6.arpa name = ws.
It doesn't qualify the hostname with the domain name, making it unusable as a proper RDNS delegation.

I have the domain name explicitly specified in /etc/config/dhcp.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by cyrus

Please post your /etc/config/dhcp

comment:2 Changed 2 years ago by anonymous

http://pastebin.com/Yxe5dgh2

The two addnhosts files listed are for malware blocking and resolving a few non-DHCP hosts on the network.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.