DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm back with another problem. I've installed a new router, but as soon as i did i lost the ability to resolve hostnames. (I've had to use windows to log into here!)
The first one is the DNS ip provided by my ISP.
I've tried these in various order, no effect.
At first i thought it was a routing issue, but all the other machines work fine. (they all use 10.0.0.1 for DNS).
Yes, i just checked again. Absolutely correct. It's just as the diagram. The only difference, the Debian machine uses a static IP, 192.168.1.129, instead of DHCP like everything else.
As i write: Someone told me just now to type nslookup google.com, which i did and it reported this:
nslookup google.com
Server: 194.168.4.100
Address: 194.168.4.100#53
** server can't find google.com: REFUSED
That's the IP of my old DNS at my old ISP. Where's that coming from, since it's not mentioned in /etc/resolve.conf?
The diagram doesn't show what plugs into WAN and numbered ports, that was why I asked. here's a trick,
Code:
nslookup www.google.com ns1.yahoo.com
this command will use yahoo's server as the DNS server. if you can hit that you can eliminate all outbound traffic from your broadband modem to your laptop. You may want to try this for your ISP's DNS server as well.
nslookup www.google.com ns1.yahoo.com
nslookup: Couldn't find server 'ns1.yahoo.com': Temporary failure in name resolution
This doesn't suprise me, since it won't be able to resolve the yahoo nameserver. But using the IP of ns1.yahoo.com does suprise me, because i would've thought that'd work.
Non-authoritative answer:
*** Can't find www.google.com: No answer
"Old Router" has this configuration:
Physical Address: 00-e0-98-4e-2f-43
IP Address: 10.0.0.2
Network Mask: 255.0.0.0
Default Gateway: 10.0.0.1
DNS IP Address: 10.0.0.1
DHCP Client: OFF
Does any of that help?
==========
STOP PRESS:
I just tried this:
Ahem, right, this is really embarrasing. I've been using /etc/resolve.conf, which i must've created by accident. I just noticed (at the bottom of this page) a similar thread which mentions /etc/resolv.conf. I must've created the one with an extra 'e' by mistake in all my hair pulling the other night.
*That's* where the 194.168.4.100 is coming from! I've changed that to 10.0.0.1 and am now resolving hostnames perfectly.
Sorry to have put you through this. I'm very new to linux. If someone hands me a gun i'll now go off and shoot myself. I think i just proved that thing about being blonde.
Ahem, right, this is really embarrasing. I've been using /etc/resolve.conf, which i must've created by accident. I just noticed (at the bottom of this page) a similar thread which mentions /etc/resolv.conf. I must've created the one with an extra 'e' by mistake in all my hair pulling the other night.
*That's* where the 194.168.4.100 is coming from! I've changed that to 10.0.0.1 and am now resolving hostnames perfectly.
Sorry to have put you through this. I'm very new to linux. If someone hands me a gun i'll now go off and shoot myself. I think i just proved that thing about being blonde.
Thanks for all your help.
Everyone seems to make that mistake once or twice. I have yet to figure out why libresolv is named such (and thus /etc/resolv.conf).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.