LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 04: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, 04:27 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
dig -x 1.2.3.4
 
Old 05-03-2009, 04: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, 04:44 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 04:46 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 02:19 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 07:06 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 08: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



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 03:28 AM
what is the actual use of PTR record in DNS ZAMO Linux - Server 1 04-12-2007 01:15 AM
dns+dynamicIP+PTR shadowsa Linux - Networking 5 01-11-2006 06:10 PM
DNS -- PTR -- help understand Fredstar Linux - Newbie 8 09-28-2005 07:37 AM
How to format DNS PTR record ? pcom Linux - Networking 2 07-01-2004 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:32 PM.

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
Open Source Consulting | Domain Registration