[Dnsmasq-discuss] DHCPv6 hostname resolving
Quintus
quintus at quintilianus.eu
Fri Apr 4 08:17:59 UTC 2014
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?
Vale,
Quintus
--
Blog: http://www.quintilianus.eu
I will reject HTML emails. | Ich akzeptiere keine HTML-Nachrichten.
|
Use GnuPG for mail encryption: | GnuPG für Mail-Verschlüsselung:
http://www.gnupg.org | http://gnupg.org/index.de.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140404/cf386c4a/attachment.sig>
More information about the Dnsmasq-discuss
mailing list