LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2005, 02:50 AM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
Dns


Hi

We have two network one is "B" class with public DNS and another "C" class with vpn connection to "B" network and having private DNS. We want to resolve hostname which has entry in public DNS for "C" class machine. In "C" class network the ip get resolved only when we are connected on Internet. If Internet is down the name resolution does not happen. Can anybody guide me how to resolve the hostname when Internet is down.

I received few clues that the name resolution will happen from the private DNS cache database, but did not happend and also not able to figure out.

issue2:

how to clear the cache for hostname which has wrong IP and cached i.e., when i ping with hostname it shows wrong ip and says destination not reachable. Please clarify in this regard also.

thanks.

T. Saravana
 
Old 07-08-2005, 04:59 AM   #2
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
Well if your internet connection is down there is no way of verifying that the IP address is correct. Also how are you going to use the DNS or IP address? There would be nothing to use it for (except for your own personal amusement).

You can set yourself up as a DNS server, and import the domains from other locations so you have a local copy, then set yourself up as the primary DNS, and there you are.

To change / remove incorrect DNS / IP pairs you have to know the correct IP addres, so what you can do is compare against trusted sources at regular intervals and over-write any changed files.

If you had a permanent internet connection then if IPs change your DNS servers info should get updated ... but i sincerely doubt that you could convince a system to cache all DNS records locally...

What exactly are you wanting to do?
 
  


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
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 04:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 02:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 02:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 01:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 02:54 PM


All times are GMT -5. The time now is 08:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration