Solved

DNS Server Pblm

Posted on 2004-08-23
10
242 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
10 Comments
 
LVL 20

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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

777 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