LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-03-2009, 05:07 PM   #1
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up PTR in DIG DNS


Hi all,

i just want to know the usage of PTR, which is for REVERSE DNS. For example for normal DNS, the usage to find the address is

#dig A www.google.com

what is the usage for PTR? Thanks.
 
Old 05-03-2009, 05:27 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
dig -x 1.2.3.4
 
Old 05-03-2009, 05:38 PM   #3
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Original Poster
Rep: Reputation: 33
Thumbs up ACID

Hi what is -x here? Thanks.
 
Old 05-03-2009, 05:44 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,098

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
Quote:
Originally Posted by palisetty_suman View Post
Hi what is -x here? Thanks.
From the MAN page on dig, it specifies the address. Hence the 1.2.3.4 in the example.
 
Old 05-03-2009, 05:46 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
palisetty;

I have previously suggested to you that you avoid asking simple questions like this with no evidence of making any effort. If you look at the man page for dig, the answer to your question pretty much jumps off the page.
 
Old 05-04-2009, 03:19 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
All my years here and that still baffles me completely. The amount of *extra* work and time it took to post a thread and reply as well compared to just reading a manpage...
 
Old 05-04-2009, 08:06 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Part of it--I suppose--is how the person perceives the difficulty of something. For the newcomer, man pages CAN be intimidating. But with someone who has been here a while, we should expect some effort before asking ultra-simple questions.
 
Old 05-04-2009, 09:27 AM   #8
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Here's a nice write-up on ptr/dig -x
http://aplawrence.com/Blog/B961.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reverse DNS query - PTR 91change Linux - Networking 3 10-05-2008 04:28 AM
what is the actual use of PTR record in DNS ZAMO Linux - Server 1 04-12-2007 02:15 AM
dns+dynamicIP+PTR shadowsa Linux - Networking 5 01-11-2006 07:10 PM
DNS -- PTR -- help understand Fredstar Linux - Newbie 8 09-28-2005 08:37 AM
How to format DNS PTR record ? pcom Linux - Networking 2 07-02-2004 12:59 AM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration