named and nslookup


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users named and nslookup
# 1  
Old 09-24-2002
named and nslookup

Guys ,

Am using Linux - Red Hat 6.1 .

My DNS and nslookup command was working fine and ppl. can resolve through this server .

but i changed something in /etc/named.conf , that stopped the DNS .

The named proccess is working , but nslookup command is not , i get this error message :

*** Can't find server name for address x.y.z.c : No response from server
*** Default servers are not available

Please help me , becouse i can not browse anything on the internet .

Thanks Alot
# 2  
Old 09-24-2002
more info needed

Hi there,

Can you post de content of named.conf.
# 3  
Old 09-24-2002
options {

directory "/var/named";
allow-transfer { x.y.z.c ; };



};
zone "0.0.127.IN-ADDR.ARPA"{
type master;
file "127.0.0";
};
zone "." {
type hint;
file "db.cache";
};
zone "xyz.com"{
type slave;
file "accessme.com";
masters{
};
};
zone "0.0.127.in-addr.arpa"{
type slave;
file "db.local";
masters{
};
};


Kindly note the i used ( x.y.z.c ) instead of IP address , and xyz instead of the domain .

Thanks
# 4  
Old 09-24-2002
You don't have your masters designated (IP address) and the format may be wrong (Check example at Mr.DNS ).

You posted:

zone "xyz.com"{
type slave;
file "accessme.com";
masters{
};
};



zone "mydomain.com" in
{
type slave ; masters { 10.14.1.20; } ;
file "slave-zones/db.mydomain.com" ;
} ;

Last edited by RTM; 09-24-2002 at 11:12 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk nslookup

Hi, I have a rather simple awk statement to perform an nslookup on a file (list of IPs). If the lookup yields a result, then it sends it to a file. If no result, there is no output. I've been trying to use !NR or !NF with an if statement to make the output state "NA" if there is no result,... (5 Replies)
Discussion started by: umang2382
5 Replies

2. Shell Programming and Scripting

nslookup hanging

Hey folks. Long time lurker, first time poster. I'm a bit of a newbie at "coding" (obviously, scripting is a teensy bit different than coding) and I've run into a problem that I just can't seem to get around. I'm going through a list of servers to check their name, IP, reverse-NSLOOKUP name and... (2 Replies)
Discussion started by: Bearwhale
2 Replies

3. Solaris

nslookup command

hi, I am new in Solaris 10 , i am installing a software in solaris 10, while performing pre requisite nslookup command should return without error, and the IP address and host should match those listed in the etc/hosts file, but nslookup command show the below error , can anybody tell me how i... (4 Replies)
Discussion started by: zeeshan047
4 Replies

4. Emergency UNIX and Linux Support

Nslookup!!! Please look up!!!

Hi all Nslookup command returns!!!! Code: nslookup 10.91.44.29 Server: 127.0.0.1 Address: 127.0.0.1#53 29.44.91.in-addr.arpa name = station1.example.com Code: nslookup station1.example.com Server: 127.0.0.1 Address: 127.0.0.1#53 Name: ... (4 Replies)
Discussion started by: anishkumarv
4 Replies

5. Shell Programming and Scripting

nslookup: am I doing it right?

Hi guys, I'm back to get some help again :) I have a file that has a list of IP addresses, and I use nslookup in my script to resolve hostnames of those IPs. the problem I'm facing is that I not all the hostnames got resolved! and I don't know why. sometimes the same duplicate IP returns a... (8 Replies)
Discussion started by: Abdulelah
8 Replies

6. UNIX for Advanced & Expert Users

nslookup for Unix

I am connecting from windows via Putty to some other Unix server. How can I display my current windows MachineName/NTID in putty? Thanks :) (4 Replies)
Discussion started by: som.nitk
4 Replies

7. IP Networking

nslookup command?

Hai guys, In which way does the command,"nslookup", will be helpful? Please give me examples. Thanks. (5 Replies)
Discussion started by: Felicia23
5 Replies

8. IP Networking

nslookup strangness

hi, what would cause the nslookup to work one way but not the other? for most machine it works both ways. >nslookup 172.18.10.235 Server: 172.16.17.3 Address: 172.16.17.3#53 235.10.18.172.in-addr.arpa name = machine1.prod.local >nslookup machine1 Server: ... (3 Replies)
Discussion started by: purest
3 Replies

9. UNIX for Advanced & Expert Users

nslookup problem

I am having trouble configuring BIND 8.3 on Solaris 9. When I run nslookup, I get this error/message: test# nslookup *** Can't find server name for address 192.168.1.31: Non-existent host/domain *** Default servers are not available I double checked everything and I can't figure this out. I... (8 Replies)
Discussion started by: xnightcrawl
8 Replies

10. UNIX for Dummies Questions & Answers

nslookup on linux ???

Hi I usually use solaris but Im working right now with a Linux box and I cannot find the nslookup command. Does Linux use this command or have an other one to do dns querys?? Thanks and sorry for such a dumb question.. :) (2 Replies)
Discussion started by: piltrafa
2 Replies
Login or Register to Ask a Question