[Dnsmasq-discuss] DHCPv6 hostname resolving
Simon Kelley
simon at thekelleys.org.uk
Sat Apr 5 17:14:27 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/04/14 09:17, Quintus wrote:
> Hi Simon,
>
> Am 03.04.2014 20:38, schrieb Simon Kelley:
>> Certainly, if there's no other reason not to, you can solve this
>> problem by reconfiguring your client to ask for a non-temporary
>> address.
>
> You?re partly right ? if I configure dhcpcd to not request a
> temporary address, the lease file contains this:
>
> ------------------------------------------- 1396620247 246859459
> 2001:4dd0:ff00:8918:1:f858:930c:267b atlantis
> 00:01:00:01:1a:93:42:fa:3c:97:0e:b6:c6:c3
> -------------------------------------------
>
> And resolving of plain names works just fine (BUT, see below):
>
> % dig atlantis AAAA
>
> ------------------------------------------- ; <<>> DiG 9.9.2-P2
> <<>> atlantis AAAA ;; global options: +cmd ;; Got answer: ;;
> ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2039 ;; flags: qr
> aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION: ;atlantis. IN AAAA
>
> ;; ANSWER SECTION: atlantis. 0 IN AAAA
> 2001:4dd0:ff00:8918:1:f858:930c:267b
>
> ;; Query time: 1 msec ;; SERVER: 10.37.59.2#53(10.37.59.2) ;; WHEN:
> Fri Apr 4 10:04:46 2014 ;; MSG SIZE rcvd: 54
> -------------------------------------------
>
> However, the fully qualified name still doesn?t work:
>
> ------------------------------------------- ; <<>> DiG 9.9.2-P2
> <<>> atlantis.cable.internal.xxx.eu AAAA ;; global options: +cmd ;;
> Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
> 53712 ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0,
> ADDITIONAL: 0
>
> ;; QUESTION SECTION: ;atlantis.cable.internal.xxx.eu. IN AAAA
>
> ;; Query time: 1 msec ;; SERVER: 10.37.59.2#53(10.37.59.2) ;; WHEN:
> Fri Apr 4 10:10:17 2014 ;; MSG SIZE rcvd: 64
> -------------------------------------------
>
> Resolving the fully qualified A record works:
>
> ------------------------------------------- ; <<>> DiG 9.9.2-P2
> <<>> atlantis.cable.internal.xxx.eu A ;; global options: +cmd ;;
> Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
> 17342 ;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0,
> ADDITIONAL: 0
>
> ;; QUESTION SECTION: ;atlantis.cable.internal.xxx.eu. IN A
>
> ;; ANSWER SECTION: atlantis.cable.internal.xxx.eu. 0 IN A
> 10.37.59.42
>
> ;; Query time: 1 msec ;; SERVER: 10.37.59.2#53(10.37.59.2) ;; WHEN:
> Fri Apr 4 10:10:11 2014 ;; MSG SIZE rcvd: 80
> -------------------------------------------
>
> Neither is the AAAA record created in the base domain:
>
> ------------------------------------------- ; <<>> DiG 9.9.2-P2
> <<>> atlantis.internal.xxx.eu AAAA ;; global options: +cmd ;; Got
> answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6544
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL:
> 0
>
> ;; QUESTION SECTION: ;atlantis.internal.xxx.eu. IN AAAA
>
> ;; AUTHORITY SECTION: xxx.eu. 2560 IN SOA ns.yyy.de.
> hostmaster.xxx.eu. 1391783412 16384 2048 1048576 2560
>
> ;; Query time: 50 msec ;; SERVER: 10.37.59.2#53(10.37.59.2) ;;
> WHEN: Fri Apr 4 10:14:35 2014 ;; MSG SIZE rcvd: 124
> -------------------------------------------
>
> So I conclude that the temporary address requestion is only part of
> the problem. What do you think?
I think you may well be right. What happens if you look up the
_address_, ie
dig -x 2001:4dd0:ff00:8918:1:f858:930c:267b
Cheers,
Simon.
>
> Vale, Quintus
>
>
>
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlNAOfMACgkQKPyGmiibgrf8tQCghIa71fnaqioT9ROu/x+6h0Iz
DkYAnjVjoTh3AcGa4d9Kgu1k+0G9FJ38
=WLV/
-----END PGP SIGNATURE-----
More information about the Dnsmasq-discuss
mailing list