/srv/irclogs.ubuntu.com/2011/05/11/#ubuntu-nz.txt

ibeardsleemorning20:32
snailmorning20:35
ojwbmorning20:44
=== lifeless_ is now known as lifeless
ajmitchmorning20:51
ajmitchhow annoying, it's bright & sunny this morning :)21:23
ollyajmitch: come visit wellington...21:26
ajmitchnah, I think I'll just put up with the monitor glare for now21:27
ibeardsleeolly: there is blue sky here21:37
ibeardsleeor maybe that's just a funny shade of grey21:38
ojwbhmm, if network manager brings the network up when the router isn't connected to the internet, it doesn't add any name servers to /etc/resolv.conf22:36
ojwband when the internet comes up, it doesn't fix that22:36
ojwbso you have to bounce the network (or go and fix it by hand)22:36
ojwbis that really the intended behaviour?22:37
* ajmitch thought it was dhclient that was adding the resolv.conf entries22:39
ojwb$ head -n1 /etc/resolv.conf22:39
ojwb# Generated by NetworkManager22:39
ajmitchis the problem that it's getting an address via dhcp which has no name servers in the dhcp offer?22:39
ojwbpresumably22:40
ojwbif the internet is up, I get two name servers at the ISP in there22:40
ajmitchI don't know if there'd be a sane way around that rather than it renewing the DHCP lease more often22:40
ojwbat least if there are no nameservers...22:40
ojwbwithout a nameserver, your internet experience is going to be somewhat reduced22:41
ajmitchmarginally so, yes22:41
* ojwb spots a neat hack22:42
ojwbset resolv.conf to point to a dummy local nameserver22:42
ojwbif that gets a request, then check for connectivity, and if it's there, force a dhcp lease expiry22:42
ajmitch& avoid resolv.conf from being clobbered22:43
ojwbalternatively, just stick 8.8.8.8 and 8.8.4.4 in there if you've nothing else22:43
ojwbthough there are privacy implications there which some might not like22:43
ojwb(those are google's public dns servers)22:44
ajmitch& they can have bad effects on CDNs that do geo-location based on DNS lookups22:44
ojwbthat's really a flaw in such CDNs I'd say22:46
ojwbthough it's the user who'll feel it directly22:46
ojwbhandy way around geo-restrictions though!22:46
ajmitchthough the ones that do restrictions tend to look up the requesting IP address rather than relying on DNS :)22:47
ojwbindeed22:47
ajmitchssh tunnel to a linode vps running squid tends to help me there22:47
Atamiramornin23:42
Atamirawe have beautiful blue sky and sun !23:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!