| Linode Forum https://forum.linode.com/ |
|
| NXDOMAIN weirdness https://forum.linode.com/viewtopic.php?f=19&t=6888 |
Page 1 of 1 |
| Author: | funkytastic [ Wed Mar 30, 2011 12:40 pm ] |
| Post subject: | NXDOMAIN weirdness |
Noticed some strange DNS behavior today on my 'node in Newark. If I try to resolve a nonexistent hostname that is a subdomain of anything in the root zone, it searches under .members.linode.com: Code: $ host nonexistent-example.com If I try to resolve a bogus hostname that's not in the root zone hierarchy, I get an NXDOMAIN, as it should be. Code: $ host steve.jobs My /etc/resolv.conf: Code: domain members.linode.com I definitely used to get all NXDOMAINs for these types of queries on this box. Any ideas? |
|
| Author: | mnordhoff [ Wed Mar 30, 2011 12:57 pm ] |
| Post subject: | |
When you look up a non-fully qualified domain name (i.e., one that doesn't end in "."), and it doesn't exist, the resolver then tries looking up "<the name>.<your search domain from resolv.conf>". For some reason, Linode's recursive nameservers return REFUSED for things like com.members.linode.com. 'host' thinks that's weird, so it returns an error. 'host' is doing the .members.linode.com. lookup for "bill.gates", too; it just doesn't tell you about it because it received an ordinary NXDOMAIN. |
|
| Author: | funkytastic [ Wed Mar 30, 2011 3:21 pm ] |
| Post subject: | |
mnordhoff wrote: For some reason, Linode's recursive nameservers return REFUSED for things like com.members.linode.com. 'host' thinks that's weird, so it returns an error.
OK, so that's what changed. The resolvers in the other Linode datacenters I have access to don't seem to be refusing those queries. Weird. Is this just Newark? Any way to fix this behavior, other than not using the linode search domain in resolv.conf? I wonder why the resolvers are only refusing those queries where the most significant level under members.linode.com is in the root zone. I can't think of a good reason for it. |
|
| Author: | obs [ Wed Mar 30, 2011 4:17 pm ] |
| Post subject: | |
If it only happens in newark I'd raise a ticket and ask support. |
|
| Author: | mnordhoff [ Thu Mar 31, 2011 9:20 pm ] |
| Post subject: | |
I can confirm the odd behaviour in Dallas. And so can you -- the US recursive nameservers are open to any US node. (London is not, for some reason.) I'm not filing a ticket about it, though. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|