Solved

DNS Server Pblm

Posted on 2004-08-23
10
244 Views
Last Modified: 2013-12-27
Hi all
I am running a DNS server on my Solaris 2.5.1 system. It was working fine for a long time. recently i have changed the ip address of network interface ( eth0 ) to a private Ip and mapped to the public ip in CISCO PIX. all services are running fine except the DNS. whenever i tried to nslookup any server, my DNS server is not able to resolv the DNS , so it is sending it to the next DNS server and it is resolving. Earlier my servers ip adress was public IP. now it is private IP.

i am getting the error is like this.

#nslookup www.yahoo.com

*** Can't find server name for address xxx.xxx.xxx.xxx(public IP): No response from server
Server:  abc.com
Address:  yyy.yyy.yyyy.yyy ( my next level domain )

Non-authoritative answer:
Name:    www.yahoo.akadns.net
Addresses:  216.109.118.72, 216.109.117.107, 216.109.117.204, 216.109.118.68
          216.109.118.75, 216.109.117.106, 216.109.118.70, 216.109.117.207
Aliases:  www.yahoo.com


if any idea////?


0
Comment
Question by:bt74
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 11870989
Check /etc/resolv.conf; It probably has the old IP address of your server as the first nameserver (And when nslookup fails to contact that address, it goes onto the next nameserver, the yahoo one)
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11872508
Have you included:

query-source address * port 53;

in the options {} of your named.conf? If there's a firewall between the DNS server and the Internet you'll usuall need that enabled for queries to work.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 11874339
jlevie,

If he's still running Solaris v2.5.1, he probably has a BIND version 4.x. Your v8/9 notation is just gonna confuse him.
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

Author Comment

by:bt74
ID: 11878854
yes..mr. jlevie..

there is firewall between the DNS server and the internet./ in my solaris box, i don't know where i have to mention the

query-source address * port 53;

in my solaris sever.. there is only /etc/named.boot. not named.conf..

and the sysntax also little bit differen

format of my /etc/named.boot file is..
directory /var/named
cache           .                               aaa.ca
primary         xxx.xxxx.xxx                      aaa.hosts
primary         (public ip).in-addr.arpa        aaa.rev
primary         0.0.127.in-addr.arpa            aaa.local

i have mentioned only my public ip in all DNS related configurations.


my private ip is only in the interface..

0
 

Expert Comment

by:palima
ID: 11900791
i think another work must be done on the MAC address of the eth0 on the PIX side
0
 
LVL 40

Expert Comment

by:jlevie
ID: 11991194
Oops, I missed a notif...

"query-source address * port 53;" isn't needed for the version of Bind you are running, so ignore that.

What does your /etc/resolv.conf contain?

When you start named is it logging any error messages (in /var/adm/messages I think)?
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 11997428
Might go to /var/log/syslog - altho that can be affected by the named.boot logging options. Mine does somewhere else completely.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12179555
Sure, no problem
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 12211293
PAQed - no points refunded (of 30)

CetusMOD
Community Support Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question