LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   /etc/resolv.conf configuration when behind a router(not a linux router) (https://www.linuxquestions.org/questions/linux-networking-3/etc-resolv-conf-configuration-when-behind-a-router-not-a-linux-router-175397/)

rmanocha 04-28-2004 01:39 AM

/etc/resolv.conf configuration when behind a router(not a linux router)
 
hey guys,
I was just wondering if we can put the IP address of our router as the nameserver for our machine.Currently my /etc/resolv.conf states:
Code:

search earthlink.net
nameserver 207.69.188.185
nameserver 207.69.188.186
nameserver 207.69.188.187

I was wondering if i could change the nameserver lines to 192.168.0.1(my router IP).
I have a Netgear router.
Just wondering if this is possible and if this will make connections work faster?
also will i have to change gatweay information too if i change this address?
thanks

ToeShot 04-28-2004 01:49 AM

I don't think this would work. Your DNS holds a domain names to IP adress mapping. your router does not do that. your packets would just get dropped

rmanocha 04-28-2004 01:52 AM

allright.Thanks for the reply.


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