Named - DNS Server - within Firewall


 
Thread Tools Search this Thread
Special Forums IP Networking Named - DNS Server - within Firewall
# 1  
Old 08-11-2011
Named - DNS Server - within Firewall

I spent hours trying to create a system where the name server returns a value of 192.168.100.5 locally, but 209.137.nnn.nnn for requests outside of the firewall.
If I run "nslookup mail.mydomain.com" from a machine inside the firewall, the 192.168 number is returned, but if I do "nslookup mydomain.com" then only a not found error is returned. Should "nslookup mydomain.com" also return the 192.168 number.
# 2  
Old 08-11-2011
can you post some more details on the setup? what DNS server are you using, maybe post the relevant DNS config files.

Also what firewall? is it just iptables?
# 3  
Old 08-11-2011
Is mydomain.com defined as a CNAME or A record?
# 4  
Old 08-11-2011
The OS is SUSE 11.2, and the DNS is bind. I used Yast to configure it.
It may take some time to post the files. I had to put the production machine back into service for the day shift, and I don't want to change the ip address of this machine in order to put it back on the network.

---------- Post updated at 09:05 AM ---------- Previous update was at 09:02 AM ----------

Quote:
Originally Posted by pludi
Is mydomain.com defined as a CNAME or A record?
That might have solved it (it wasn't defined at all), but I won't know until tonight.
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

named caching server odd lookup issue!

Hello All, I have resubmitted this issue I am having as the my last post was moved to programming as the issue appeared to be specific to java but on further investigation this is not the case. The issues also arises when running the host command and appears to be either a problem with the... (1 Reply)
Discussion started by: Paragon1970
1 Replies

3. UNIX for Dummies Questions & Answers

Copying a file from one server to another (behind firewall.)

Hi, I want to copy a file from one server A to another server B. Usually I use scp username@source-server:/path . (from the destination folder) However, in this particular case, I have server C behind a firewall. So, I connect to Server B and ssh over to server C. --this is the source... (3 Replies)
Discussion started by: neil.k
3 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 Dummies Questions & Answers

Named (DNS Name Server) question

As suggested by the forum I'm posting in, I'm very new at this, so bear with me please. I'm using a Virtual Dedicated server (Linux) from GoDaddy and using Simple Control Panel. A few days ago, the sites running off of it stopped working, and I did manage to troubleshoot it to some extent where... (1 Reply)
Discussion started by: KevenM
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. UNIX for Dummies Questions & Answers

setup a DNS server for my redhat server

Using Redhat Linux Enterprise AS 4 can someone teach me how to setup a dns server for my webserver? i've registered a domainname at mydomain.com but when i type in the domain i register i cannot enter to my webserver. someone told me that it is related with the DNS setting on my server. i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies

8. UNIX for Advanced & Expert Users

linux firewall / dns issue

I have set up a linux (red hat 9) box as my main internet router. I am also running a DNS server on it. What are the rules i have to implement to allow DNS queries through the firewall from outside so that the outside world can see my domains? (1 Reply)
Discussion started by: frankkahle
1 Replies

9. UNIX for Dummies Questions & Answers

can't find named.conf to configuration DNS

Help me! I have problem. I can't find named.conf file in /etc (Solaris 5.6,SPRAC) Please! (1 Reply)
Discussion started by: nghia77
1 Replies

10. IP Networking

DNS daemon named

I found the /usr/sbin/in.named file but it is encoded. I tried the /usr/sbin/ndc rstart command to start the DNS server but it didn't work. Are there any other commands to start the DNS server beside the one I tried? (4 Replies)
Discussion started by: Deuce
4 Replies
Login or Register to Ask a Question