-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query fails if no AAAA record is available in netbox #33
Comments
Thanks for the report. In order to help, I need to get some more information: |
I guess we are using v0.3.0, however, at startup it prints
Our currently running build was created 5 days ago. With nslookup the query fails on Ubuntu 20.04 (native host, "ping from iputils s20190709") and alpine 3.16 (container, "ping from iputils v20220328-1499-gc662f01584"). The
#dig @172.29.112.112 device.blabla.local
; <<>> DiG 9.16.1-Ubuntu <<>> @172.29.112.112 device.blabla.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21118
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 9eeb4d23b55940fe (echoed)
;; QUESTION SECTION:
;device.blabla.local. IN A
;; ANSWER SECTION:
device.blabla.local. 21 IN A 172.29.78.1
;; Query time: 0 msec
;; SERVER: 172.29.112.112#53(172.29.112.112)
;; WHEN: Tue Sep 06 07:51:50 CEST 2022
;; MSG SIZE rcvd: 115 |
Hi,
I am using the latest version from master branch.
When a device has an IPv4 and IPv6 DNS name assigned in netbox, everything works fine. The name can be resolved, the answer contains both records.
However, if a device only has an IPv4 assigned, we are running into the following issue:
When I check the logs, I can see the following info:
I guess the problem is that NXDOMAIN is returned for AAAA, even if a record for A was found.
The text was updated successfully, but these errors were encountered: