ibeardslee | morning | 20:32 |
---|---|---|
snail | morning | 20:35 |
ojwb | morning | 20:44 |
=== lifeless_ is now known as lifeless | ||
ajmitch | morning | 20:51 |
ajmitch | how annoying, it's bright & sunny this morning :) | 21:23 |
olly | ajmitch: come visit wellington... | 21:26 |
ajmitch | nah, I think I'll just put up with the monitor glare for now | 21:27 |
ibeardslee | olly: there is blue sky here | 21:37 |
ibeardslee | or maybe that's just a funny shade of grey | 21:38 |
ojwb | hmm, 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.conf | 22:36 |
ojwb | and when the internet comes up, it doesn't fix that | 22:36 |
ojwb | so you have to bounce the network (or go and fix it by hand) | 22:36 |
ojwb | is that really the intended behaviour? | 22:37 |
* ajmitch thought it was dhclient that was adding the resolv.conf entries | 22:39 | |
ojwb | $ head -n1 /etc/resolv.conf | 22:39 |
ojwb | # Generated by NetworkManager | 22:39 |
ajmitch | is the problem that it's getting an address via dhcp which has no name servers in the dhcp offer? | 22:39 |
ojwb | presumably | 22:40 |
ojwb | if the internet is up, I get two name servers at the ISP in there | 22:40 |
ajmitch | I don't know if there'd be a sane way around that rather than it renewing the DHCP lease more often | 22:40 |
ojwb | at least if there are no nameservers... | 22:40 |
ojwb | without a nameserver, your internet experience is going to be somewhat reduced | 22:41 |
ajmitch | marginally so, yes | 22:41 |
* ojwb spots a neat hack | 22:42 | |
ojwb | set resolv.conf to point to a dummy local nameserver | 22:42 |
ojwb | if that gets a request, then check for connectivity, and if it's there, force a dhcp lease expiry | 22:42 |
ajmitch | & avoid resolv.conf from being clobbered | 22:43 |
ojwb | alternatively, just stick 8.8.8.8 and 8.8.4.4 in there if you've nothing else | 22:43 |
ojwb | though there are privacy implications there which some might not like | 22: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 lookups | 22:44 |
ojwb | that's really a flaw in such CDNs I'd say | 22:46 |
ojwb | though it's the user who'll feel it directly | 22:46 |
ojwb | handy way around geo-restrictions though! | 22:46 |
ajmitch | though the ones that do restrictions tend to look up the requesting IP address rather than relying on DNS :) | 22:47 |
ojwb | indeed | 22:47 |
ajmitch | ssh tunnel to a linode vps running squid tends to help me there | 22:47 |
Atamira | mornin | 23:42 |
Atamira | we have beautiful blue sky and sun ! | 23:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!