Visit Our UNIX and Linux User Community


DNS testing


 
Thread Tools Search this Thread
Special Forums IP Networking DNS testing
# 1  
Old 04-01-2002
DNS testing

Hi all,

Please can i know how to test an DNS server is working or not.
Please explain testing of newly setup DNS server with example.
DNS server is must for mailserver or not?

Thanks And Reg
Bache
# 2  
Old 04-29-2002
Hammer & Screwdriver DNS testing

an effective to way to test dns is to
use nslookup

the syntax is

nslookup domainname or ip address

examlpe is
nslookup www.yourdomainname.com
this will query yourdomainname dns and return an ip address.

or nslookup (ip address of your dns)
this will query yourdomainname dns using an ip address and return full domainname

dns is important for web base mail without it you will not be able to received or sent email outside your network or domain.
# 3  
Old 02-13-2009
Hi,

Is that necessory to give domain name and IP address to it?
# 4  
Old 03-28-2009
man dig
# 5  
Old 04-24-2009
use dig

Assuming you have a caching nameserver, as said above use dig
Test your nameserver using host or dig and querying redhat.com
Quote:
dig redhat.com
.
.
;; Query time: 42 msec
;; SERVER: 127.0.0.1#53(127.0.0.1
)

From the above dig query you can see it took 42 msec to receive the DNS request. Now test out the caching ability of your nameserver by running dig again on the redhat.com domain.

We dropped from 42 msec to 1 msec after the previous DNS query was cached. Caching is working!

Previous Thread | Next Thread
Test Your Knowledge in Computers #285
Difficulty: Easy
AIX was the first operating system to have a proc file system.
True or False?

5 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

3. Red Hat

DNS A-Record point to another DNS

Hi, I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow: http://img689.imageshack.us/img689/6333/12234.png How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies

4. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

5. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

Featured Tech Videos