LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-28-2003, 04:58 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
Gateway and DNS


Hi all

Do i need to configure my DNS for the GATEWAY server to work
 
Old 06-28-2003, 06:00 AM   #2
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
no, DNS servers should be provided by your ISP.
 
Old 06-28-2003, 07:24 AM   #3
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
You need DNS for working with hostnames, for example :
"ping linuxquestions.org"
64 bytes from linuxquestions.org (64.179.4.146): icmp_seq=1 ttl=47

You need a gateway for reaching a specific point in a network, for example :
"ping 64.179.4.146"
64 bytes from 64.179.4.146: icmp_seq=1 ttl=47 time=117 ms

If you don't have DNS, you can still reach that specific point on a network, by using it's IP-adress and not it's hostname.

If you're gateway is not functioning properly, there is no DNS resolving possible, also network packets don't arrive at that specific point on a network.
 
Old 06-29-2003, 07:31 PM   #4
lnuxwhat
LQ Newbie
 
Registered: Jun 2003
Location: Midwest USA
Posts: 8

Rep: Reputation: 0
If you are just wanting to get access to a dns service then edit /etc/resolv.conf file and enter:

namedserver xx.xx.xx.xx

If you are wanting to provide a caching dns server or full dns services locally then your gateway will provide a way for your server to get to root hints.
 
Old 06-29-2003, 08:20 PM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
again NO, you do not need DNS for a gateway to work. As a matter of fact, the gateway itself doesnt need to know any DNS information if you wanna be technical about it.
 
Old 07-05-2003, 02:01 AM   #6
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
thanks for all that guys
 
  


Reply



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
DNS Blocked by gateway! Samhein Linux - Networking 4 11-28-2005 04:46 AM
How to see DNS ,GATEWAY etc.. tkmuthuvel Linux - Networking 1 09-12-2005 02:53 PM
DNS and gateway ThorRune Linux - Hardware 3 08-26-2005 02:19 PM
Changing IP, DNS, Gateway, etc... Psykoral Mandriva 2 11-18-2003 10:32 AM
cannot get dns behind linux gateway bibi Linux - Networking 4 12-20-2001 07:27 PM

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

All times are GMT -5. The time now is 06:36 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