<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Of course, if you are using DHCP from your router - you can tell it what name servers to use and that might be what it dishes out with the leases. Then again, it depends how the router is set up - it might try to give out it's own IP as the DNS server, and proxy all requests. <div>
<br></div><div>Another thing to check is what's in /etc/nsswitch.conf under hosts: - this tells you what order names are resolved in (e.g. /etc/hosts, DNS resolv.conf, etc). </div><div><br></div><div>Also, if you've got resolvconf installed, you may want to check it's settings,That will normally write to /run/resolvconf/resolv.conf, which is symlinked to /etc/resolv.conf</div>
<div><br></div><div><div><div class="h5"><br><br><div class="gmail_quote">On 29 January 2013 13:10, Paul Littlefield <span dir="ltr"><<a href="mailto:info@paully.co.uk" target="_blank">info@paully.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 29/01/13 12:52, james morris wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm using dhcpcd, but again, why I chose that over dhcp who knows?<br>
</blockquote>
<br></div>
OK, if you are not doing anything fancy in your house, then you should just leave the modem / router to do its' thing and control DHCP. This means that it will give you an IP address, tell you IT is the way out on to the internet, and tell your operating system what name servers to use.<br>
<br>
In order to do this, you need a DHCP client to 'ask' a DHCP server for those details. In Linux it's dhcpcd. I have it running on mine...<br>
<br>
paully@thinkpad ~ $ pidof dhcpcd<br>
2053<br>
<br>
Here is my name server file...<br>
paully@thinkpad ~ $ cat /etc/resolv.conf<br>
nameserver 212.159.6.10<br>
nameserver 212.159.6.9<br>
<br>
...which just happens to be PlusNet's nameservers.<br>
<br>
Here is my way out onto the 'net...<br>
paully@thinkpad ~ $ route -n<br>
Kernel IP routing table<br>
Destination Gateway Genmask Flags Metric Ref Use Iface<br>
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0<br>
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo<br>
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0<br>
<br>
...so you can see the modem / router is on the classic 192.168.0.1 address.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How would I test what it's 'dishing out'?<br>
</blockquote>
<br></div>
OK, what computers do you have where you are now?<div><div><br>
<br>
<br>
-- <br>
<br>
Paul Littlefield<br>
<br>
Telephone: <a href="tel:07801%20125705" value="+447801125705" target="_blank">07801 125705</a><br>
Email: <a href="mailto:info@paully.co.uk" target="_blank">info@paully.co.uk</a><br>
Web: <a href="http://www.paully.co.uk" target="_blank">www.paully.co.uk</a><br>
Skype: paul_littlefield<br>
Twitter: <a href="https://twitter.com/paullittlefield" target="_blank">https://twitter.com/<u></u>paullittlefield</a><br>
Wiki: <a href="http://wiki.indie-it.com/index.php?title=Special:AllPages" target="_blank">http://wiki.indie-it.com/<u></u>index.php?title=Special:<u></u>AllPages</a><br>
Blog: <a href="http://www.littlefield.info" target="_blank">http://www.littlefield.info</a><br>
Photo: <a href="http://gravatar.com/plittlefield" target="_blank">http://gravatar.com/<u></u>plittlefield</a><br>
LinkedIn: <a href="http://uk.linkedin.com/in/paullittlefield" target="_blank">http://uk.linkedin.com/in/<u></u>paullittlefield</a><br>
<br>
Paul Littlefield is environmentally responsible. Please consider the environment before printing this email. This email and any attachment is intended for the named addressee only, or person authorised to receive it on their behalf. The content should be treated as confidential and the recipient may not disclose this message or any attachment to anyone else without authorisation. If this transmission is received in error please notify the sender immediately and delete this message from your email system. All electronic transmissions to and from me are recorded and may be monitored. Finally, the recipient should check this email and any attachments for viruses. Paul Littlefield accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
Portage 2.1.11.31 (default/linux/amd64/10.0/<u></u>desktop, gcc-4.7.2, glibc-2.15-r3, 3.6.11-gentoo x86_64)<br>
Gentoo Base System release 2.1<br>
This is a pre-release version of the X server from The X.Org Foundation.<br>
latest version in the X.Org Foundation git repository.<br>
X.Org X Server 1.13.1.901 (1.13.2 RC 1)<br>
xfce-base/xfdesktop-4.10.0<br>
x11-drivers/xf86-video-intel-<u></u>2.20.19<br>
<br>
______________________________<u></u>_________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/kent</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Chris Roberts<br>
~<br><a href="http://naxxfish.eu/" style="color:rgb(17,85,204)" target="_blank">http://naxxfish.eu/</a><br>
<br></span><div><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">No trees were killed to send this message, but a large number of electrons were terribly inconvenienced.</span></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Chris Roberts<br>~<br><a href="http://naxxfish.eu/" style="color:rgb(17,85,204)" target="_blank">http://naxxfish.eu/</a><br>
<br></span><div><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">No trees were killed to send this message, but a large number of electrons were terribly inconvenienced.</span></div>