You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running an authoritative zone, an A record lookup request on nslookup in Linux will return the correct response and then immediately after return NXDOMAIN. From the logs, it looks like it gets the A record, then continues to attempt to look for more record types, and fails on AAAA.
NOTE: nslookup on Windows behaves as expected.
To Reproduce
Steps to reproduce the behavior:
Run nslookup on a Linux server
Set server to Gravity server
Make a request for an A record
See answer and error
Expected behavior
In step 4, the answer should be returned without the AAAA failure.
Screenshots
Logs
gravity-1 | {"level":"debug","ts":1734972089.0605125,"logger":"role.dns","msg":"sending request to handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"int_soa"}
gravity-1 | {"level":"debug","ts":1734972089.0605228,"logger":"role.dns","msg":"no reply, trying next handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"int_soa"}
gravity-1 | {"level":"debug","ts":1734972089.0605307,"logger":"role.dns","msg":"sending request to handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"memory"}
gravity-1 | {"level":"debug","ts":1734972089.0605474,"logger":"role.dns","msg":"returning reply from handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"memory"}
gravity-1 | {"level":"info","ts":1734972089.0606427,"logger":"role.dns","msg":"DNS Query","instance":"gravitytest","version":"0.19.0+1c9d9dbf","runtime":0,"client":"172.22.18.22","response":"NOERROR","queryNames":["foo.zone1.test."],"queryTypes":["A"],"answerRecords":["1.1.1.1"],"answerTypes":["A"]}
gravity-1 | {"level":"debug","ts":1734972089.0606663,"logger":"role.dns","msg":"dispatching event","instance":"gravitytest","version":"0.19.0+1c9d9dbf","topic":"roles.tsdb.inc"}
gravity-1 | {"level":"debug","ts":1734972089.0606785,"logger":"role.tsdb","msg":"tsdb inc","instance":"gravitytest","version":"0.19.0+1c9d9dbf","key":"/dns/memory"}
gravity-1 | {"level":"debug","ts":1734972089.061731,"logger":"role.dns","msg":"routing request to zone","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"/dns/zones/zone1.test."}
gravity-1 | {"level":"debug","ts":1734972089.0620086,"logger":"role.dns","msg":"sending request to handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"int_soa"}
gravity-1 | {"level":"debug","ts":1734972089.062091,"logger":"role.dns","msg":"no reply, trying next handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"int_soa"}
gravity-1 | {"level":"debug","ts":1734972089.062102,"logger":"role.dns","msg":"sending request to handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"memory"}
gravity-1 | {"level":"debug","ts":1734972089.0621147,"logger":"role.dns","msg":"no reply, trying next handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"memory"}
gravity-1 | {"level":"debug","ts":1734972089.0621202,"logger":"role.dns","msg":"sending request to handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"etcd"}
gravity-1 | {"level":"debug","ts":1734972089.0621283,"logger":"role.dns","msg":"fetching kv key","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"etcd","key":"/dns/zones/zone1.test./foo/AAAA"}
gravity-1 | {"level":"debug","ts":1734972089.0631201,"logger":"role.dns","msg":"fetching kv key","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"etcd","key":"/dns/zones/zone1.test./*/AAAA"}
gravity-1 | {"level":"debug","ts":1734972089.0637338,"logger":"role.dns","msg":"fetching kv key","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"etcd","key":"/dns/zones/zone1.test./foo/CNAME"}
gravity-1 | {"level":"debug","ts":1734972089.0641086,"logger":"role.dns","msg":"no reply, trying next handler","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test.","handler":"etcd"}
gravity-1 | {"level":"debug","ts":1734972089.0645092,"logger":"role.dns","msg":"no handler has a reply, fallback back to NX","instance":"gravitytest","version":"0.19.0+1c9d9dbf","zone":"zone1.test."}
gravity-1 | {"level":"info","ts":1734972089.064778,"logger":"role.dns","msg":"DNS Query","instance":"gravitytest","version":"0.19.0+1c9d9dbf","runtime":2,"client":"172.22.18.22","response":"NXDOMAIN","queryNames":["foo.zone1.test."],"queryTypes":["AAAA"],"answerRecords":[],"answerTypes":[]}
gravity-1 | {"level":"debug","ts":1734972092.3400645,"logger":"role.tsdb","msg":"writing metrics","instance":"gravitytest","version":"0.19.0+1c9d9dbf"}
gravity-1 | {"level":"debug","ts":1734972092.3401127,"logger":"role.tsdb","msg":"dispatching event","instance":"gravitytest","version":"0.19.0+1c9d9dbf","topic":"roles.tsdb.before_write"}
gravity-1 | {"level":"debug","ts":1734972092.340194,"logger":"role.tsdb","msg":"tsdb set","instance":"gravitytest","version":"0.19.0+1c9d9dbf","key":"/system/memory"}
gravity-1 | {"level":"debug","ts":1734972092.3404846,"logger":"role.tsdb","msg":"tsdb set","instance":"gravitytest","version":"0.19.0+1c9d9dbf","key":"/system/cpu"}
Describe the bug
When running an authoritative zone, an A record lookup request on nslookup in Linux will return the correct response and then immediately after return NXDOMAIN. From the logs, it looks like it gets the A record, then continues to attempt to look for more record types, and fails on AAAA.
NOTE: nslookup on Windows behaves as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
In step 4, the answer should be returned without the AAAA failure.
Screenshots
Logs
Version and Deployment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: