answersLogoWhite

0

What is PTR record?

Updated: 11/6/2022
User Avatar

Wiki User

14y ago

Best Answer

A PTR record is essentially the opposite of an A record. A records resolve names to IP addresses. PTR records resolve IP addresses to names.

A record = give me a name I'll give you an IP

PTR record = give me an IP I'll give you a name

Try it out in windows:

ping "www.Yahoo.com"

Here is what I got:

-------------------------------------------------------------------------------------

F:\>ping www.yahoo.com

Pinging www-real.wa1.b.yahoo.com [69.147.76.15] with 32 bytes of data:

Reply from 69.147.76.15: bytes=32 time=14ms TTL=53

Reply from 69.147.76.15: bytes=32 time=11ms TTL=53

Reply from 69.147.76.15: bytes=32 time=65ms TTL=53

Reply from 69.147.76.15: bytes=32 time=12ms TTL=53

---------------------------------------------------------------------------------------

now do a "ping -a IP-ADDRESS" which will spit you back the name attached to that IP

----------------------------------------------------------------------------------------

F:\>ping -a 69.147.76.15

Pinging f1.www.vip.re1.yahoo.com [69.147.76.15] with 32 bytes of data:

Reply from 69.147.76.15: bytes=32 time=19ms TTL=53

Reply from 69.147.76.15: bytes=32 time=88ms TTL=53

Reply from 69.147.76.15: bytes=32 time=12ms TTL=53

Reply from 69.147.76.15: bytes=32 time=46ms TTL=53

Ping statistics for 69.147.76.15:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 12ms, Maximum = 88ms, Average = 41ms

-------------------------------------------------------------------------------------------

Your accessing PTR records to do this.

... and just so you beileve me try a "ping 69.147.76.15" and check the results

FYI: if your doing a ping -a to an intranet host you need to configure reverse lookup for it to work properly.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is PTR record?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How exactly does DNS PTR work?

PTR is an abbreviation for pointer record. This pointer record is often used to do a reverse DNS search. DNS means DOMAIN NAME SYSTEM. These searches are done in order to figure out someone's IP address.


How do you accept a string and print if it is a palindrome?

// Return true if str is a palindrome bool is_palindrome (char* str) { int len; char* cpy; char* ptr; bool b; len = strlen (str); if (!len) return false; cpy = malloc (sizeof(char) * (len + 1)); ptr = cpy; while (*ptr=*str) { if (*ptr>='A' *ptr<='Z') *ptr+=('a'-'A'); if ((*ptr>='a' && *ptr<='z') (*ptr>='0' && *ptr<='9')) { ++ptr; } ++str; } *ptr = '\0'; --ptr; str = cpy; while ((cpy!=ptr) && (cpy!=(ptr+1)) && (*cpy==*ptr)) { ++cpy; --ptr; } b = (*cpy==*ptr); free (str); return b; }


If you have not modified the default settings for dns on the dhcp client or server what client record or records will the dhcp server update in dns?

A. The PTR resource record.


What is recurcive function in c?

A function that calls itself. Example: ProcessList (list *ptr) { if (ptr!=NULL) { DoSomething (ptr->data); ProcessList (ptr->next); } }


What is the effect of various arithmetic operators on a pointers?

Error message, mainly. The following operations are legal: ptr + integer (pointer) ptr - integer (pointer) ptr - ptr (integer)


What type of firearms does PTR Indutries provide?

PTR Industries manufactures machine gun rifles for law-enforcement, military, and even regular civilians. Some of their models include the PTR Classic Wood, the PTR MSG91C, and the PTR SFR.


If you have a windows nt4 client for which you want to enable dynamic updates you want the dhcp server to automatically update both the a record and ptr record which action will accomplish this?

B. In the DNS tab of the DHCP server properties dialog box, select Dynamically Update DNS A And PTR Records For DHCP Clients That Do Not Request Updates. I think.


Wap to sorting the element of the array?

void main() { int i,j,temp1,temp2; int arr[8]={5,3,0,2,12,1,33,2}; int *ptr; for(i=0;i<7;i++) { for(j=0;j<7-i;j++) { if(*(arr+j)>*(arr+j+1)) { ptr=arr+j; temp1=*ptr++; temp2=*ptr; *ptr--=temp1; *ptr=temp2; clrscr(); for(i=0;i<8;i++) printf(" %d",arr[i]); getch(); }


How do you solve simple interest?

simple intrest=ptr/100: simple intrest=ptr/100:


Write a program to implement priority queue in C?

A priority queue is a type of data structure that allows for elements to be inserted in any order, and to be retrieved in the order of some priority, defined by the creator. It can be implemented in any programming language, including C. For more details, see related links.


How do you get on AQWorlds ptr server?

PTR doesn't exsist anymore Artix Entertainment shut it down for good.


What operator enables you to access structures members using pointers to the structure?

(*ptr).field or ptr->field