LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-22-2004, 03:49 AM   #1
reaky
Member
 
Registered: Oct 2003
Posts: 60

Rep: Reputation: 15
dns check outside dns before local


there is a problem faceing me i can't understand it
i have a Small network (fedora+ xp)
a have the dns in my server
this server is connected to the INTERNET by adsl modem
now the problem is
when i ping the server by host name it be so slow to give me the replay
but the time of the replay being good and fast
second when i do ssh by ip
he do it fast and ask me for password fast
but it take a long time to check the password
all these cases happened when i disconnect from the INTERNET (unplug network cable from the external interface
when i put the cable of the modem
i every thing being OK ssh is fast and ping is fast
i try to dig the server
i found that it go to the external dns to get the request and come again to the local
i don't understand why this happend
why it go to outside dns and not look to the local dns first
can anyone help me please
 
Old 02-22-2004, 09:27 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Look into /etc/resolv.conf. It's a list of DNSes. They're asked in the order from this file. If you local DNS (using local IP) is not first on the list, make it first.
 
  


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
Local DNS server Quantum0726 Linux - Networking 3 08-19-2005 02:47 AM
how can I check a dns entry? barrys Mandriva 3 08-21-2004 12:02 PM
Can I create a local DNS? kuso Linux - Networking 3 09-22-2003 09:54 PM
need some local DNS help rnorton Linux - Networking 4 02-10-2003 05:50 PM
need help setting up local DNS rnorton Linux - Networking 7 03-21-2002 08:39 PM

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

All times are GMT -5. The time now is 11:55 PM.

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