Simple DSL tweak
Just had my DSL modem replaced — for the fourth time. The first three modems (two Xyxels and I forgot the brand of the first one) kept dying on me. Now I have a SpeedStream 5100.
So you'd think everything's okay, right? Well, not quite. I don't know what came to the PLDT tech support's head when he installed the modem. The modem config came with only one DNS entry, and the search directive contains this line:
search domain.invalidDue to this, and the usually busy DNS, I'm having a hard time browsing. Heck, I can't even do a decent dig without the connection timing out.
A simple remedy would be to just replace the offending config in the modem, but I don't want to mess around with the modem so I'm doing it at the client side. I'd have to delete the search directive and add a new nameserver entry into /etc/resolv.conf:
sudo sed -e '1,2d' -e '/^name/i \nameserver 202.90.128.3' -i etc/resolv.confAll I have to do is just place the above snippet into /etc/rc.local and I'm good to go.
(Whew! A pretty lengthy post for such a simple solution.)
Comments
Post a Comment