Hi Ronen,
What I am saying is that there are 5 authoritative DNS servers for ddns.net http://ddns.net/ but they are not all updating together, two of their servers do not hold the A record for your host, so it is ddns.net http://ddns.net/ that needs to sort their servers out and ensure that all their servers update whenever a host is changed.
It was just “bad luck” that the Portal queried one of the servers that does not have your hostname.
It was “good luck” that you queried one of the servers that does have your hostname.
Any recursive nameserver will lookup the authoritative name servers for the domain first, in the case of ddns.net http://ddns.net/ there are five, it then selects one of them (could be any one) and asks it for the A record - if by chance it asks one that does not hold your record it will get a response that the hostname does not exist.
Regards, Chris
On 17 Apr 2018, at 11:00, R P ronenp@hotmail.com wrote:
look here ...
gilboa-gw.ddns.net
Server: 1dot1dot1dot1.cloudflare-dns.com Address: 1.1.1.1
Non-authoritative answer: Name: gilboa-gw.ddns.net Address: 109.65.68.149
What servers the portal look at ? Maybe you should point it to more quick update server ? it is needed specially for dynamic address based gateway to get their new address as quick as possible in case of address change Ronen - 4Z4ZQ
From: 44Net 44net-bounces+ronenp=hotmail.com@mailman.ampr.org on behalf of G1FEF via 44Net 44net@mailman.ampr.org Sent: Tuesday, April 17, 2018 2:54 AM To: AMPRNet working group Cc: G1FEF Subject: Re: [44net] Unable to rsolve host error in the portal
On 17 Apr 2018, at 10:27, R P ronenp@hotmail.com wrote:
Hi I have entered new ddns.net name to one of the gateways i have installed and while pressing the save button got "unable to resolve host" error The name is resolvable ... Is the Portal lazy ? Any info is welcome Ronen - 4Z4ZQ
Looks like ddns.net does not update all it’s authoritative servers at the same time, this is from the portal server:
[chris@portal ~]# nslookup gilboa-gw.ddns.net Server: 192.168.1.1 Address: 192.168.1.1#53
Non-authoritative answer: *** Can't find gilboa-gw.ddns.net: No answer
[chris@portal ~]# dig ddns.net ns
; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> ddns.net ns ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21964 ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 7
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;ddns.net. IN NS
;; ANSWER SECTION: ddns.net. 19616 IN NS nf5.no-ip.com. ddns.net. 19616 IN NS nf2.no-ip.com. ddns.net. 19616 IN NS nf1.no-ip.com. ddns.net. 19616 IN NS nf4.no-ip.com. ddns.net. 19616 IN NS nf3.no-ip.com.
;; ADDITIONAL SECTION: nf1.no-ip.com. 4789 IN A 50.31.129.129 nf1.no-ip.com. 5 IN AAAA 2001:1838:f002::129 nf2.no-ip.com. 688 IN A 165.254.162.241 nf3.no-ip.com. 16855 IN A 69.65.40.108 nf4.no-ip.com. 10583 IN A 50.31.129.129 nf5.no-ip.com. 1719 IN A 50.31.129.129
;; Query time: 3 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Tue Apr 17 09:47:38 UTC 2018 ;; MSG SIZE rcvd: 244
[chris@portal ~]# dig @nf1.no-ip.com gilboa-gw.ddns.net a
; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> @nf1.no-ip.com gilboa-gw.ddns.net a ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8921 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;gilboa-gw.ddns.net. IN A
;; ANSWER SECTION: gilboa-gw.ddns.net. 60 IN A 109.65.68.149
;; Query time: 15 msec ;; SERVER: 50.31.129.129#53(50.31.129.129) ;; WHEN: Tue Apr 17 09:47:44 UTC 2018 ;; MSG SIZE rcvd: 63
[chris@portal ~]# dig @nf2.no-ip.com gilboa-gw.ddns.net a
; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> @nf2.no-ip.com gilboa-gw.ddns.net a ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59618 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;gilboa-gw.ddns.net. IN A
;; AUTHORITY SECTION: ddns.net. 1800 IN SOA nf1.no-ip.com. hostmaster.no-ip.com. 2180056495 10800 1800 604800 1800
;; Query time: 80 msec ;; SERVER: 165.254.162.241#53(165.254.162.241) ;; WHEN: Tue Apr 17 09:47:48 UTC 2018 ;; MSG SIZE rcvd: 107
[chris@portal ~]# dig @nf3.no-ip.com gilboa-gw.ddns.net a
; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> @nf3.no-ip.com gilboa-gw.ddns.net a ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9086 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;gilboa-gw.ddns.net. IN A
;; AUTHORITY SECTION: ddns.net. 1800 IN SOA nf1.no-ip.com. hostmaster.no-ip.com. 2180211990 10800 1800 604800 1800
;; Query time: 106 msec ;; SERVER: 69.65.40.108#53(69.65.40.108) ;; WHEN: Tue Apr 17 09:47:52 UTC 2018 ;; MSG SIZE rcvd: 107
[chris@portal ~]# dig @nf4.no-ip.com gilboa-gw.ddns.net a
; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> @nf4.no-ip.com gilboa-gw.ddns.net a ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54672 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;gilboa-gw.ddns.net. IN A
;; ANSWER SECTION: gilboa-gw.ddns.net. 60 IN A 109.65.68.149
;; Query time: 17 msec ;; SERVER: 50.31.129.129#53(50.31.129.129) ;; WHEN: Tue Apr 17 09:47:55 UTC 2018 ;; MSG SIZE rcvd: 63
[chris@portal ~]# dig @nf5.no-ip.com gilboa-gw.ddns.net a
; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> @nf5.no-ip.com gilboa-gw.ddns.net a ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56508 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;gilboa-gw.ddns.net. IN A
;; ANSWER SECTION: gilboa-gw.ddns.net. 60 IN A 109.65.68.149
;; Query time: 16 msec ;; SERVER: 50.31.129.129#53(50.31.129.129) ;; WHEN: Tue Apr 17 09:47:58 UTC 2018 ;; MSG SIZE rcvd: 63
The name servers the Portal uses must have queried one of ddns’s name servers that don’t have the A record yet.
Regards, Chris
44Net mailing list 44Net@mailman.ampr.org https://mailman.ampr.org/mailman/listinfo/44net