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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Advanced & Expert Users
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
3. IP Networking
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
4. IP Networking
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
5. UNIX for Advanced & Expert Users
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
6. Shell Programming and Scripting
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
7. Emergency UNIX and Linux Support
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
8. Solaris
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
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
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
LEARN ABOUT HPUX
named-checkzone
named-checkzone(1) General Commands Manual named-checkzone(1)
NAME
named-checkzone - zone validity checking tool
SYNOPSIS
class] mode] mode] outfile] directory] directory] zonename [filename]
DESCRIPTION
is a tool for performing integrity checks on the zone contents. It uses the same integrity checks as the daemon when loading a zone. This
makes useful for checking zone files before configuring them into a name server. Zones and zone files are described in named.conf(4).
Options
Specify the class of the zone.
Dump the zone file in canonical format.
Enable debugging.
Read the journal (if it exists) when loading the zone file.
Perform checks with the specified failure mode. Possible modes are (default), and The option is described in named.conf(4).
Specify whether NS records should be checked to see if they are addresses.
Possible modes are (default), and
Write zone output to
outfile .
Enable quiet mode for exit code only.
Print the version of
and exit.
Change to directory (see chdir(2)) so that relative file names in master file directives work This is similar to the clause in
Operands
filename The file to use for checking the zone contents. The default is the file with the zone name. For the default to work, the file
name for the zone in the statement of the file must be identical to the zone name.
zonename The zone whose contents are to be checked.
RETURN VALUE
sets the exit status to:
Success.
Errors were detected.
EXAMPLES
To perform integrity checks on zone in the zone file and display debug information:
AUTHOR
was developed by the Internet Systems Consortium (ISC).
SEE ALSO
named(1M), chdir(2), named.conf(4).
Requests for Comments (RFC): 1035, available online at
available online at
available from the Internet Systems Consortium at
BIND 9.3 named-checkzone(1)