Solved

DNS Server Pblm

Posted on 2004-08-23
10
240 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
 

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now