| Linode Forum https://forum.linode.com/ |
|
| Linode resolvers vs own resolver https://forum.linode.com/viewtopic.php?f=19&t=9203 |
Page 1 of 1 |
| Author: | jonny5alive [ Mon Jul 30, 2012 7:18 am ] |
| Post subject: | Linode resolvers vs own resolver |
Hi I've always followed the official Linode guide to use the two DNS resolvers listed in 'Remote Access' in /etc/resolv.conf e.g.: nameserver 74.207.241.5 nameserver 74.207.242.5 options rotate I built a new Linode yesterday, and the resolver was set to 192.168.1.1. I assume this is pointing at an internal daemon on the Linode. Is there an advantage to either one? Perhaps the second method caches? |
|
| Author: | pclissold [ Mon Jul 30, 2012 3:44 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
It looks like 192.168.1.1 points to somewhere in Linode's internal (private IP) network, rather than your Linode. |
|
| Author: | mnordhoff [ Mon Jul 30, 2012 9:04 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
Since no one from Linode has chimed in with the official story, I'll add my 0.02 ameros. My guess is that it's a misconfiguration, either 1.) An internal setting that leaked out when Linode built the disk image, 2.) A DHCP mistake, 3.) Some sort of bizarre distro mistake, or 4.) Something you accidentally did. If it's reproducible -- e.g. with a new, virgin disk image -- I'd file a ticket. Edit: From my node in Dallas, 192.168.1.1 is accessible but does not have an accessible DNS resolver. |
|
| Author: | jonny5alive [ Mon Jul 30, 2012 9:08 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
I may file a ticket as mnordhoff suggests. I think there is some borkage on what gets used as a hostname too. |
|
| Author: | mnordhoff [ Mon Jul 30, 2012 9:15 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
The default hostname should be the boring li123-456 one based on your IP address and its default rDNS, set by the DHCP client. What's wrong? |
|
| Author: | jonny5alive [ Mon Jul 30, 2012 9:17 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
I believe it got set as localhost.localdomain on one and the full li123-456.members.linode.com on another. I'm setting up a new one in a few days, so I'll check and open a ticket if it is strange. Is there any problem with having a hostname as the full li123-456.members.linode.com vs li123-456 ? |
|
| Author: | theckman [ Wed Aug 01, 2012 11:04 am ] |
| Post subject: | Re: Linode resolvers vs own resolver |
Some distributions, depending on their init system, don't always play nicely when it comes to having their hostname set by DHCP. Usually due to an unavoidable race condition. The systems boot too fast for their own good. Re: Resolver -- it may be an artifact left over from when the image was built. However, if you are using DHCP the file should be overwritten. It's quite possible, however, that the file will be altered if you switch to static IP addresses. If you made this change, you should be manually setting your resolv.conf file anyhow. -Tim |
|
| Author: | jonny5alive [ Wed Aug 01, 2012 6:07 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
Is there any problem with having the hostname as localhost? I don't plan on using that in production, just seemed to be the default today. |
|
| Author: | theckman [ Fri Aug 03, 2012 1:23 pm ] |
| Post subject: | Re: Linode resolvers vs own resolver |
jonny5alive wrote: Is there any problem with having the hostname as localhost? I don't plan on using that in production, just seemed to be the default today. No, some distributions default to this if no hostname is set and if one cannot be obtained by DHCP. Your best bet is to set one manually as part of your system's configuration. -Tim |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|