nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

UNIX and Linux command for DNS

This is a discussion on UNIX and Linux command for DNS within the Getting started tutorials forums, part of the Linux Getting Started category; A quick list of dns command under UNIX and Linux Get domain/host IP address Code: nslookup yahoo.com host -t A ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-27-2007, 04:36 PM
Member
User
 
Join Date: Feb 2005
Posts: 66
Rep Power: 0
chiku
Default UNIX and Linux command for DNS

A quick list of dns command under UNIX and Linux

Get domain/host IP address
Code:
nslookup yahoo.com
host -t A yahoo.com
Find IP mapping
Code:
host 66.94.234.13
nslookup 66.94.234.13
You can also use dig
Code:
dig yahoo.com
dig 66.94.234.13
Your name server listed in /etc/resolv.conf file
Code:
more /etc/resolv.conf
cat /etc/resolv.conf
vi /etc/resolv.conf
__________________
There's no place like 127.0.0.1

Last edited by chiku; 04-27-2007 at 04:43 PM. Reason: more commands
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-29-2007, 04:36 PM
Senior Member
User
 
Join Date: Dec 2006
Location: /B!n@ry
My distro: openSuSE 10.2
Posts: 127
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Nice List of commands
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
unix find out ram usage command charvi Solaris/OpenSolaris 4 04-10-2008 02:22 AM
Unix route command view jerry Solaris/OpenSolaris 3 02-21-2008 01:24 PM
UNIX / Linux echo command examples raj Getting started tutorials 2 12-07-2007 11:20 AM
unix ls command raj Getting started tutorials 0 08-20-2007 10:04 PM
Unix sending file attachment command sweta Solaris/OpenSolaris 1 08-10-2007 08:19 PM


All times are GMT +5.5. The time now is 06:09 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36