|
Reader's Favorites
Media Casualties Mount Administration Split On Europe Invasion Administration In Crisis Over Burgeoning Quagmire Congress Concerned About Diversion From War On Japan Pot, Kettle On Line Two... Allies Seize Paris The Natural Gore Book Sales Tank, Supporters Claim Unfair Tactics Satan Files Lack Of Defamation Suit Why This Blog Bores People With Space Stuff A New Beginning My Hit Parade
Instapundit (Glenn Reynolds) Tim Blair James Lileks Bleats Virginia Postrel Kausfiles Winds Of Change (Joe Katzman) Little Green Footballs (Charles Johnson) Samizdata Eject Eject Eject (Bill Whittle) Space Alan Boyle (MSNBC) Space Politics (Jeff Foust) Space Transport News (Clark Lindsey) NASA Watch NASA Space Flight Hobby Space A Voyage To Arcturus (Jay Manifold) Dispatches From The Final Frontier (Michael Belfiore) Personal Spaceflight (Jeff Foust) Mars Blog The Flame Trench (Florida Today) Space Cynic Rocket Forge (Michael Mealing) COTS Watch (Michael Mealing) Curmudgeon's Corner (Mark Whittington) Selenian Boondocks Tales of the Heliosphere Out Of The Cradle Space For Commerce (Brian Dunbar) True Anomaly Kevin Parkin The Speculist (Phil Bowermaster) Spacecraft (Chris Hall) Space Pragmatism (Dan Schrimpsher) Eternal Golden Braid (Fred Kiesche) Carried Away (Dan Schmelzer) Laughing Wolf (C. Blake Powers) Chair Force Engineer (Air Force Procurement) Spacearium Saturn Follies JesusPhreaks (Scott Bell) Science
Nanobot (Howard Lovy) Lagniappe (Derek Lowe) Geek Press (Paul Hsieh) Gene Expression Carl Zimmer Redwood Dragon (Dave Trowbridge) Charles Murtaugh Turned Up To Eleven (Paul Orwin) Cowlix (Wes Cowley) Quark Soup (Dave Appell) Economics/Finance
Assymetrical Information (Jane Galt and Mindles H. Dreck) Marginal Revolution (Tyler Cowen et al) Man Without Qualities (Robert Musil) Knowledge Problem (Lynne Kiesling) Journoblogs The Ombudsgod Cut On The Bias (Susanna Cornett) Joanne Jacobs The Funny Pages
Cox & Forkum Day By Day Iowahawk Happy Fun Pundit Jim Treacher IMAO The Onion Amish Tech Support (Lawrence Simon) Scrapple Face (Scott Ott) Regular Reading
Quasipundit (Adragna & Vehrs) England's Sword (Iain Murray) Daily Pundit (Bill Quick) Pejman Pundit Daimnation! (Damian Penny) Aspara Girl Flit Z+ Blog (Andrew Zolli) Matt Welch Ken Layne The Kolkata Libertarian Midwest Conservative Journal Protein Wisdom (Jeff Goldstein et al) Dean's World (Dean Esmay) Yippee-Ki-Yay (Kevin McGehee) Vodka Pundit Richard Bennett Spleenville (Andrea Harris) Random Jottings (John Weidner) Natalie Solent On the Third Hand (Kathy Kinsley, Bellicose Woman) Patrick Ruffini Inappropriate Response (Moira Breen) Jerry Pournelle Other Worthy Weblogs
Ain't No Bad Dude (Brian Linse) Airstrip One A libertarian reads the papers Andrew Olmsted Anna Franco Review Ben Kepple's Daily Rant Bjorn Staerk Bitter Girl Catallaxy Files Dawson.com Dodgeblog Dropscan (Shiloh Bucher) End the War on Freedom Fevered Rants Fredrik Norman Heretical Ideas Ideas etc Insolvent Republic of Blogistan James Reuben Haney Libertarian Rant Matthew Edgar Mind over what matters Muslimpundit Page Fault Interrupt Photodude Privacy Digest Quare Rantburg Recovering Liberal Sand In The Gears(Anthony Woodlief) Sgt. Stryker The Blogs of War The Fly Bottle The Illuminated Donkey Unqualified Offerings What she really thinks Where HipHop & Libertarianism Meet Zem : blog Space Policy Links
Space Future The Space Review The Space Show Space Frontier Foundation Space Policy Digest BBS AWOL
USS Clueless (Steven Den Beste) Media Minder Unremitting Verse (Will Warren) World View (Brink Lindsay) The Last Page More Than Zero (Andrew Hofer) Pathetic Earthlings (Andrew Lloyd) Spaceship Summer (Derek Lyons) The New Space Age (Rob Wilson) Rocketman (Mark Oakley) Mazoo Site designed by Powered by Movable Type |
New Network Problem My server is having trouble with DNS. It can ping the internet by IP, and when I ping by name, it makes an attempt and echos the IP, but cannot ping. My /etc/resolv.conf file contains only "nameserver 192.168.2.1" which is the address of the wireless router. Am I doing something wrong? [Update] I finally found the DNS servers for AT&T. When I put them in resolv.conf, everything seems to work fine. Thanks for the suggestions. Posted by Rand Simberg at September 14, 2004 09:22 AMTrackBack URL for this entry:
http://www.transterrestrial.com/mt-diagnostics.cgi/2938 Listed below are links to weblogs that reference this post from Transterrestrial Musings.
Comments
Your router isn't picking up the DNS server from your ISP. Try rebooting your router first. Posted by BigFire at September 14, 2004 09:29 AMIf it's not picking up the IP address, why does it display it when it attempts to ping? Posted by Rand Simberg at September 14, 2004 09:57 AMThat's a very good question, Rand. However, is there any particular reason that you're using the router as the DNS, and not the IP of the ISP's DNS? IS DHCP still enabled on the router in spite of having hard-coded IPs for your machines? What are the DNS settings on the laptop and desktop PCs? Posted by John Breen III at September 14, 2004 09:59 AMHowever, is there any particular reason that you're using the router as the DNS, and not the IP of the ISP's DNS? Yes, because I don't know the ISP's DNS (it's AT&T DSL). IS DHCP still enabled on the router in spite of having hard-coded IPs for your machines? The IPs on the machines aren't hard coded. I was simply reporting their assignment by the router. What are the DNS settings on the laptop and desktop PCs? They're set to have the DNS assigned automatically. I'm not sure how to do that in Linux as a client. I hoped that using the gateway as the nameserver would work. I'm still flummoxed by the fact that it resolves and repeats the IP address from the domain name, will ping the IP address, but will not ping the domain. Posted by Rand Simberg at September 14, 2004 10:06 AMOn one of the PCs, go to a command prompt and type "ipconfig /all". With DHCP, it should report back the IPs of the DNS at your ISP. In the GUI, it's set up through System Settings -> Network, DNS tab. In the command line, in the resolve.conf file, replace the 192.168.2.1 with the DNS IP that you find in your PC config. Should look something like "nameserver 166.33.193.132" Posted by John Breen III at September 14, 2004 10:16 AMI wish I could edit my posts... The second para. above should say, "Back on your Linux box, In the GUI..." And the last para. should read, "When you're done, the file should contain a line that should look something..." Posted by John Breen III at September 14, 2004 10:18 AMNot quite sure of the details of your setup, but if you're using your ISP for DNS, then resolv.conf should list two or three of their servers. This is supposed to be acquired when the DHCP lease is negotiated. That's why you can ping IP addresses but not domain names. You don't need DNS service if you already know the IP address where the packets are going. A reboot might fix it. On a few occasions, my DHCP client (on Linux) has timed out when my ISP took too long to respond. Result: my resolv.conf contained only the address of my router. You can, I believe, tweak DHCP clients to increase the amount of time they allot for a lease negotiation, if that really is the issue. Posted by billg at September 14, 2004 10:21 AMOh, and it's coming back with IPs for some names because they're probably resident in the router's memory from another machine on the network accessing them recently. Technically, you COULD set up your own DNS locally, and there are bunches of articles on how to do so. But if you have your ISP's DNS available and it's a reliable server on their end, there's not really any need to do so. Posted by John Breen III at September 14, 2004 10:22 AMYup, what billg said, too. What's the world coming to when the solution to a problem in Linux is the same as in Windoze (namely, "reboot and see if it works")? ;-) Posted by John Breen III at September 14, 2004 10:24 AMOn one of the PCs, go to a command prompt and type "ipconfig /all". With DHCP, it should report back the IPs of the DNS at your ISP. Been there, done that. No IPs for the DNS. And I don't have a GUI on the linux box (X is broken--that's a whole other story). I just use vi. Posted by Rand Simberg at September 14, 2004 10:28 AMNo IPs for the DNS on any machine? That's not a good sign... I'd try power cycling the router as billg suggested and then rebooting the PCs and the server. Or, instead of rebooting the PCs, do an ipconfig /release, and an ipconfig /renew. Obviously you have a connection to the ISP, or you wouldn't be posting right now, but it sounds like the ISP isn't playing nice with your router, or your router isn't playing nice with its DHCP settings. Posted by John Breen III at September 14, 2004 10:34 AMAnd I have tried rebooting... Posted by Rand Simberg at September 14, 2004 10:35 AMThe inconvenient alternative at this point (short of ditching the AirLink and getting a LinkSys) would be to wipe the memory on the router and re-configure it fron scratch. Did this issue and the previous one start when you went from .1.* to .2.*? I'm not trying to be a critical ass, just trying to help and get an idea of the timeframe/course of events... Posted by John Breen III at September 14, 2004 10:46 AMI've tried rebooting everything. I do not know, nor have I ever known, the DNS IPs for AT&T. Googling leads me to some pages that indicate they're reluctant to let their customers know what they are. This is almost getting to be enough of a pain to think about switching providers. Posted by Rand Simberg at September 14, 2004 10:49 AMDid this issue and the previous one start when you went from .1.* to .2.*? No. It's a long story, but the short one is that I've never tried getting this server to work with this router until today. Previously, before the move, I was using another dedicated Debian linux box as a firewall/router, on a different ISP (Earthlink) to which I knew the DNS IPs, so I could put them into resolv.conf. The Debian box is broken (having trouble mounting root for some reason), and I haven't had time to fix it, but even if it were running, and I were using it instead of the Airlink, I'd still have the same problem, since I don't know the nameserver addresses. Oh, and the reason for the "2" is that in California, I had set up the wireless behind the Debian firewall, which was a "1," (and I'd like to do that again, when I fix the Debian). It still seems to come down to the fact that I don't have the namserver addresses. Posted by Rand Simberg at September 14, 2004 10:58 AMI'm using the same router; it's either running a caching DNS or simply proxying through. if you're using the default DHCP config on the router, it makes sense (well, it makes sense to me) that you only have one DNS entry on your clients. that being said, I seem to remember that your ISP provided info should be visible on the "status" tab in the router's web interface (or on one of the subtabs of the status page(I've had similar problems in the past, mostly related to the _terrible_ service we're getting through mediaworks. not recommended at all)). what results does nslookup give you for reverse lookups? Posted by poobie at September 14, 2004 11:28 AMIt must've been Hilary Clinton's fault. Posted by Capt Ed at September 14, 2004 12:36 PMNext time, just try stuffing the IP address of any DNS server you do know into /etc/resolv.conf. You don't have to use your own ISP's nameserver, it's just usually the easiest thing to do. And maybe stop with the rebooting. You should be able to restart your network with something like "/etc/rc.d/init.d/network restart." But I don't think you need to anyway, since the resolver reads the configuration file whenever it gets a request. /sbin/ifconfig is not going to tell you your DNS resolution configuration, but only the IP address assigned to your interface(s). And maybe leave the router alone, too. I can't see it having any resolver agents -- when would it ever deal with names instead of IP addresses? It sounds like there's some confusion here between the gateway and the nameserver. Posted by Al Gore at September 15, 2004 02:04 AMI'm sorry but we do not fully support unix based network configuration's. Perhaps your network administrator or the provider of your wireless access point would be able to support you with this issue. :P Posted by Josh "Hefty" Reiter at September 15, 2004 05:29 AMCongrats on finding the addresses for your ISP's nameservers. Mine refuses to tell anyone what they are for "security" reasons, even though the addresses are clearly visible to anyone, on any OS, who knows where to look. Of course, at my ISP, knowing what a nameserver does seems to get you promoted to a Tier 3 supervisory slot. "Free" nameservers exist. Googling ought to find them, but I haven't a clue who runs them or if they're reliable. Post a comment |