Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-28-2003, 01:53 PM
|
#1
|
LQ Newbie
Registered: Oct 2003
Posts: 3
Rep:
|
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
|
|
|
10-28-2003, 02:00 PM
|
#2
|
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:
|
What are the contents of /etc/resolv.conf? Is it possible they are consulting NIS before BIND?
|
|
|
10-28-2003, 02:11 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Posts: 3
Original Poster
Rep:
|
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!
|
|
|
10-28-2003, 02:12 PM
|
#4
|
LQ Newbie
Registered: Oct 2003
Posts: 3
Original Poster
Rep:
|
Oh yeah, NIS is not running.
Thanks.
|
|
|
All times are GMT -5. The time now is 01:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|