LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-28-2003, 01:53 PM   #1
nodrogx
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Exclamation nslookup returns local ip when resolving another servers fqdn on same subnet


Hi,
I have a server (192.168.1.19) running redhat es2.1, it is on a private subnet (192.168.1.0/24) with two other redhat es2.1 machines, 192.168.1.20 and 192.168.1.21. All three are nat'd to public IP's which are pointed to from public DNS. When I try to resolve the fqdn for the other two servers I get their private IP's as the reponse. I cannot figure out where this information is coming from; the private addresses are not in DNS (the publics are in DNS), and the /etc/hosts file only contains the private IP of the server on which it resides and does not contain private IP's for the other two. This problem is identical on all three redhat machines. Resolving these machine's fqdn from anywhere else works fine.

Does anyone know what might be going on with this?
Thanks in advance for any wisdom...

Perryn
 
Old 10-28-2003, 02:00 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
What are the contents of /etc/resolv.conf? Is it possible they are consulting NIS before BIND?
 
Old 10-28-2003, 02:11 PM   #3
nodrogx
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
files are as follows:

/etc/resolv.conf
search criticaldatagroup.com
nameserver 206.168.216.6
nameserver 206.168.216.4

excerpt from /etc/nsswitch.conf
hosts: files nisplus dns

/etc/host.conf
order hosts,bind

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
204.144.131.19 storm.criticaldatagroup.com storm


thanks!
 
Old 10-28-2003, 02:12 PM   #4
nodrogx
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Oh yeah, NIS is not running.

Thanks.
 
  


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
[SOLVED] nslookup, host, dig not resolving entries in /etc/hosts MensaWater Linux - Networking 27 09-22-2022 09:02 AM
Exim, restrict sending from ourdomain.com to local subnet humbletech99 Linux - Security 4 11-25-2005 04:07 AM
Resolving Local Non-FQDN Host Names fortezza Linux - Networking 2 02-14-2004 04:17 AM
Aargh!!! Not routing to local subnet sancho5 Linux - Networking 5 02-10-2004 02:11 AM
what should i set a local FQDN to? vrillusions Linux - Newbie 1 02-09-2003 03:32 AM

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

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