khalahan / nmcontrol

Namecoin Control
33 stars 52 forks source link

IPv6 support #9

Open Sunkawakan opened 9 years ago

Sunkawakan commented 9 years ago

Hi,

After testing, seems that resolving IPv6 addresss do not work. Tried with the lastest nmcontrol version and tried using a public opennicproject DNS. IPv4 is OK, IPv6 nothing.

See this example:

pi@raspberry ~ $ namecoind name_show d/buro
{
    "name" : "d/buro",
    "value" : "{\"ip\":\"83.160.102.54\",\"ip6\":\"2001:980:608c:1:215:5dff:fe00:a301\",\"map\":{\"*\":{\"ip\":\"83.160.102.54\",\"ip6\":\"2001:980:608c:1:215:5dff:fe00:a301\"}},\"website\":\"http://SQUATTER-WEB\",\"email\":\"SQUATTER-EMAIL\",\"bitmessage\":\"BM-SQATTER-BM_ADDRESS\",\"namecoin\":\"SQUATTER-NAMECOIN-ADDRESS\",\"about\":\"bit domain reservation\"}",
    "txid" : "058e8a0147a302f8fc7ba17c32aeda4562e6702c1ebaa05a6323d2fcf2359040",
    "address" : "N7KMG9o43V8yygPLKKfhcxPE6b6EhUnkxA",
    "expires_in" : 15022
}
pi@raspberry ~ $ 
pi@raspberry ~ $ 
pi@raspberry ~ $ dig -t A buro.bit

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> -t A buro.bit
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6397
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;buro.bit.          IN  A

;; ANSWER SECTION:
buro.bit.       300 IN  A   83.160.102.54

;; Query time: 13 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Dec  4 17:39:03 2014
;; MSG SIZE  rcvd: 50

pi@raspberry ~ $ 
pi@raspberry ~ $ 
pi@raspberry ~ $ dig -t AAAA buro.bit

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> -t AAAA buro.bit
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 54242
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;buro.bit.          IN  AAAA

;; Query time: 12 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Dec  4 17:39:10 2014
;; MSG SIZE  rcvd: 26
Sunkawakan commented 9 years ago

Damn, I posted the squatter contact info on the example. Edited.

KimJi55 commented 3 years ago

ขอบคุณ👍🏼