LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2005, 06:15 AM   #1
limes.whatlimes
LQ Newbie
 
Registered: Sep 2005
Location: uk
Distribution: fedora core 3 (in some fashion)
Posts: 3

Rep: Reputation: 0
Networking. D-Link DSL G604T LAN DNS issues.


Hi there!

I'm totally new here, and pretty much to linux. Although I've known of it and dabbled with it for a few years I've never decided to take the plunge till now as I've grown fed up with my unnamed wet cardboard box OS. So armed with my newly acquired fedora iso's off i trundled.

I managed the installation fine and dandy and set up my dual boot machine only to come up with the same problem as mentioned in this thread:
EDIT
I can't link to it as i don't have >5 posts! ;(
oh well. The post was detailing how a Wireless Router D-Link DSL-G604T had intermittent web page retrieval on Fedora Core 4.

The solution was to put the dns servers into the router. hardcoded. then just make sure that the /etc/resolv.conf file is showing either your dns servers that you put into the router, or the router address itself..

(it may have been a lot easier to reply to the topic, sorry I'm unsure how this forum handles old threads that suddenly receive a reply- i wrote this with the best intentions i promise!)

so namely my problem is that i can ping the outside world but i cannot reslove anything though firefox or konquerer.

I've yet to try the proposed solution as I'm at work, although I hold high hopes as I am also based in the UK and using BT as my ISP, thus giving me very similar circumstances to the chap in the above post. But I'm a graduate engineer and as such:
i) i think i know more than i actually do
and
ii) i trust myself to be technically competant enough to -really- mess things up

I'd just like to ask: Why?

Why does linux need to know hard coded dns servers when it queries a router? I can understand the router needing to know, or problems arising from from not using static dns's in the routers config. Just that I haven't come across anything that indicates why this should be....

Sorry I don't mean to sound too . . . studenty? As I'm sure I'm going to fall over my own 2 feet plenty of times over the coming year.

Thanks for your time,
Nick.
 
Old 09-20-2005, 07:56 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
The solution that you quoted will probably work.

If you don't have a DNS entry on your PC where is it going to go to resolve addresses?

This is why you add the address of your router into /etc/resolv.conf and the address of your ISPs DNS servers into the router. Now fedora will know to query the router, the router will query your ISP and everything should resolve correctly.
 
Old 09-20-2005, 11:23 AM   #3
limes.whatlimes
LQ Newbie
 
Registered: Sep 2005
Location: uk
Distribution: fedora core 3 (in some fashion)
Posts: 3

Original Poster
Rep: Reputation: 0
hmm true.... sorry i guess i thought all this might happen automatically...
 
Old 09-21-2005, 04:13 AM   #4
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
It is possible to use DHCP to automatically distribute gateway and DNS addresses as well as IP addresses.
 
Old 09-21-2005, 04:49 AM   #5
limes.whatlimes
LQ Newbie
 
Registered: Sep 2005
Location: uk
Distribution: fedora core 3 (in some fashion)
Posts: 3

Original Poster
Rep: Reputation: 0
I seeee. so is that what my router would have been doing previously with my win xp install?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
D-Link G604T and DNS cm0901 Linux - Networking 4 09-28-2005 04:12 PM
Wireless Router D-Link DSL-G604T - intermittent web page retrieval on Fedora Core 4 shogunmike Linux - Wireless Networking 3 07-05-2005 02:29 AM
SSH and dsl-g604t Secyritas Linux - Networking 0 06-04-2005 02:18 PM
D-Link DSL-G604T AppZ Linux - Wireless Networking 5 05-31-2005 12:55 PM
does MDK9.2 recognise D-Link DSL-G604T for easy install? xxvm1 Mandriva 2 09-09-2004 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration