DNS problems.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers DNS problems.
# 1  
Old 02-15-2004
DNS problems.

Here's the setup. We have a consortium of three different\separate
domains\organizations A.org, B.org, and C.org that are sharing a domain
D.org. The server they share\use is housed at domain A.org. Domain A.org
also maintains the primary nameserver for both internal and external DNS.
The server they share has two nic cards in it, each having a different
subnet address for the internal network. Nic A 192.104.39.226 (label D.org)
and Nic B 192.104.40.225. (label D-2.org)They all use one external address
and the domain name D.org for the external network Domain A.org uses the
subnet 192.104.39.0 and the other two domains B.org and C.org both use the
subnet 192.104.40.0. Domain A.org has a zone setup in it's internal DNS
with an A record that maps D.org to 192.104.39.226. The other two domains
B.org, and C.org do not have zones setup on their internal DNS. Domain
A.org has a zone setup for external DNS for domain D.org. There is an A
record in the file that maps www.d.org to the external address 205.46.83.71.
We have a firewall setup that nat's the address 205.46.83.71 to
192.104.39.226. We're switching ISP's and I changed the external address to
4.36.130.71 in the zone file and on the firewall. From the outside all
seems to be working well, other than reverse lookup is not enabled, you can
get the page displayed with no problem if you use www.d.org , and nslookup
and dig return the correct nameserver information. The problems are on the
internal subnet 192.104.40.0. Primarily with domain C.org. Since the
change of the external ip address domain C.org cannot attach to the server
via http. Domain C.org can ping and telnet to the server nic
192.104.40.225, and login via telnet.

Here's the problems. The domains B.org and C.org cannot resolve the name
D.org. I'm told they do not need zones setup in there internal DNS. That
when the query to their internal DNS for www.d.org fails, the query will be
sent out to the Internet and the primary nameserver housed at domain A.org
will resolve the name www.d.org to 205.46.83.71, the firewall then nat's it
to 192.104.39.226, and the page is displayed. This is not working, domains
B.org and C.org get (page not found) via a browser when using the DNS name.
Domain B.org can connect and display the page if it use's the ip address
http://192.104.40.225. The domain B.org admin tells me the DNS name
resolution has never worked from day one, they have always had to use the ip
address. Domain C.org cannot get the page displayed period, the domain
C.org admin tells me they have always used the DNS name and not the address.
Now, neither domain can ping by name. Both can ping and telnet successfully
by using the ip address 192.104.40.225.

Do we need to setup something in domain A.org's internal DNS to map the ip
address 192.104.40.225 to d-2.org or should it be www.d-2.org ? And, tell
domains B.org and C.org to use that DNS name? Or, is there a way to set up
the configuration in domain A.org, so all three domains can use D.org or
www.d.org internally? What would prevent domain C.org from being able to
connect via http, when you can ping and telnet to the ip address? This
really puzzles me. The outside world and domains A.org and B.org can connect
via http, even though domain B.org has to use the ip address rather than the
DNS name. Domain A.org, has no problems connecting via DNS name or ip
address, it can ping and telnet also. Do we need to setup something (a zone
or an A record and PTR record) in domains B.org and C.org's internal DNS
that would map an ip address (192.104.40.225) back to d.org or d-2.org? Or
should the external nameserver be resolving the name for us? I fail to see
why changing the external ip address in the zone file and on the firewall
would prevent domain C.org from connecting via http. I assumed that with
them being on the internal network, that the change would not have an impact
on them. Is this assumption correct?
# 2  
Old 02-15-2004
If b.org and c.org try to resolve www.d.org via dns, they are going to get the external address, the same as everyone else in the world. It seems like that should work, but they would be going out to the internet It sounds like you want them to be using the internal address. If I understand your (rather convoluted) setup, that means using www.d2.org.


You don't tell us what OS'es are involved. But you may have a file nsswitch.conf. You can use this to make the system look at /etc/hosts first, then use dns. And then you can put an entry in /etc/hosts for www.d.org. I would do that

And someone may have done that in the past for b.ord and c.org. It's another thing to check.

And if telnet works but web fails, it's gotta be a firewall issue. You might try telneting to port 80 just to be sure that it's not some wierd client issue.
# 3  
Old 02-15-2004
Thanks for the reply and the confirmation on the external dns. I'll have a look at the firewall rules. For the internal dns it's windows 2000, for the external dns it's Solaris 5.6.

In order for them to use www.d-2.org internally. Do I need to setup a zone for them in their internal dns? It seems to me that I would.
# 4  
Old 02-15-2004
Quote:
Originally posted by Westy564
In order for them to use www.d-2.org internally. Do I need to setup a zone for them in their internal dns? It seems to me that I would.
You need to do something. But again I would go for the nsswitch.conf and /etc/hosts deal.
# 5  
Old 02-16-2004
I know that you can assign more than one ip address to an interface\nic. Could I have assigned the one name www.d.org to both ip addresses, on just one interface\nic?
# 6  
Old 02-17-2004
yes, two different domain names can point to the same IP address. with /etc/hosts , you just add that extra entry. same with your named config files.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

3. Red Hat

DNS A-Record point to another DNS

Hi, I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow: http://img689.imageshack.us/img689/6333/12234.png How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies

4. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

5. UNIX for Advanced & Expert Users

problems figuring out dns

Im on an OS X 10.4 Mac server running bind 9.3, I just replaced the entire network with cisco hardware, all machines including servers now have private ip addresses that t he firewall resolves. I need to have a dns that works for both internal and external connections. any help would be great! (1 Reply)
Discussion started by: nbredthauer
1 Replies

6. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

7. Solaris

OS Problems -no DNS & SSH not working

I just installed Solaris 6/10 without any problems but I didn't connect the network cable when I installed it. Here are my problems: -I can access webpages using IP addrsses but not with domain names -ssh is installed but it is not running ('ps -e | grep sshd' didn't show it) I have been... (4 Replies)
Discussion started by: kungpow
4 Replies

8. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies

9. UNIX for Dummies Questions & Answers

dns/pppoe Problems

I would appreciate any help anyone could give. I am having DNS problems... Here are the facts: linux: 2.2.16 Distrib: SUSE 7.0 pppd: rp-pppoe ISP: Verizon Avenue IP: Dynamic DNS: 10.5.0.65 ??? Default Gateway: 10.5.0.65 ???? I have tried putting the above IP into /etc/resolv.conf with... (3 Replies)
Discussion started by: Recon
3 Replies

10. UNIX for Dummies Questions & Answers

Dns

Greetings to all, I have not been in a unix environment for many years, but I am back. Question is regarding how to setup or check how it's configured is DNS on a SPARCstation 20 runing SunOS 4.1.4 2 sun4m I have a DNS server on the network and would like the sun box to use it for it's name... (22 Replies)
Discussion started by: DLongan
22 Replies
Login or Register to Ask a Question