PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.domains > Get TTL of a DNS record
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.domains Topics related to Domain Style names.

Get TTL of a DNS record

Réponse
 
LinkBack Outils de la discussion
Vieux 29/06/2007, 15h27   #1
silentser@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Get TTL of a DNS record

I want to gather some statistics on TTL of certain NS records. When
I'm using 'dig' command (e.g. 'dig com. NS') several times I'm getting
cached decreasing TTL values. I've tried to clear the local DNS cache
with 'lookupd -flushcache', but it did not . Is there is a way to
get an original TTL for a given domain name?

Regards,
Sergei

  Réponse avec citation
Vieux 29/06/2007, 19h24   #2
Neil W Rickert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Get TTL of a DNS record

silentser@gmail.com writes:

>I want to gather some statistics on TTL of certain NS records. When
>I'm using 'dig' command (e.g. 'dig com. NS') several times I'm getting
>cached decreasing TTL values. I've tried to clear the local DNS cache
>with 'lookupd -flushcache', but it did not . Is there is a way to
>get an original TTL for a given domain name?


Do the lookup at the authoritative server for the record you are
requesting.

I'll use your email domain "googlegroups.com" as an example.

% dig googlegroups.com
;; ANSWER SECTION:
googlegroups.com. 3520 IN A 64.233.161.104
googlegroups.com. 3520 IN A 72.14.209.104

;; AUTHORITY SECTION:
googlegroups.com. 345520 IN NS ns3.google.com.
googlegroups.com. 345520 IN NS ns4.google.com.
googlegroups.com. 345520 IN NS ns1.google.com.
googlegroups.com. 345520 IN NS ns2.google.com.

This tells me that ns1.google.com is one of the authoritative
servers for the domain.

% dig @ns1.google.com. googlegroups.com

;; ANSWER SECTION:
googlegroups.com. 3600 IN A 72.14.209.104
googlegroups.com. 3600 IN A 64.233.161.104

;; AUTHORITY SECTION:
googlegroups.com. 345600 IN NS ns1.google.com.
googlegroups.com. 345600 IN NS ns2.google.com.
googlegroups.com. 345600 IN NS ns3.google.com.
googlegroups.com. 345600 IN NS ns4.google.com.

This time I got a full TTL."googlegroups.com" as an example.

% dig googlegroups.com

;; ANSWER SECTION:
googlegroups.com. 3520 IN A 64.233.161.104
googlegroups.com. 3520 IN A 72.14.209.104

;; AUTHORITY SECTION:
googlegroups.com. 345520 IN NS ns3.google.com.
googlegroups.com. 345520 IN NS ns4.google.com.
googlegroups.com. 345520 IN NS ns1.google.com.
googlegroups.com. 345520 IN NS ns2.google.com.

This tells me that ns1.google.com is one of the authoritative
servers for the domain.

% dig @ns1.google.com. googlegroups.com

;; ANSWER SECTION:
googlegroups.com. 3600 IN A 72.14.209.104
googlegroups.com. 3600 IN A 64.233.161.104

;; AUTHORITY SECTION:
googlegroups.com. 345600 IN NS ns1.google.com.
googlegroups.com. 345600 IN NS ns2.google.com.
googlegroups.com. 345600 IN NS ns3.google.com.
googlegroups.com. 345600 IN NS ns4.google.com.

This time I got a full TTL.

This won't always work (some servers are improperly configure, or
maybe a firewall prevents you contacting anything but the company
DNS server).

  Réponse avec citation
Vieux 01/07/2007, 15h20   #3
silentser@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Get TTL of a DNS record

On Jun 29, 8:24 pm, Neil W Rickert <rickert...@cs.niu.edu> wrote:
> silent...@gmail.com writes:
> >I want to gather some statistics on TTL of certain NS records. When
> >I'm using 'dig' command (e.g. 'dig com. NS') several times I'm getting
> >cached decreasing TTL values. I've tried to clear the local DNS cache
> >with 'lookupd -flushcache', but it did not . Is there is a way to
> >get an original TTL for a given domain name?

>
> Do the lookup at the authoritative server for the record you are
> requesting.
>
> I'll use your email domain "googlegroups.com" as an example.
>
> % dig googlegroups.com
> ;; ANSWER SECTION:
> googlegroups.com. 3520 IN A 64.233.161.104
> googlegroups.com. 3520 IN A 72.14.209.104
>
> ;; AUTHORITY SECTION:
> googlegroups.com. 345520 IN NS ns3.google.com.
> googlegroups.com. 345520 IN NS ns4.google.com.
> googlegroups.com. 345520 IN NS ns1.google.com.
> googlegroups.com. 345520 IN NS ns2.google.com.
>
> This tells me that ns1.google.com is one of the authoritative
> servers for the domain.
>
> % dig @ns1.google.com. googlegroups.com
>
> ;; ANSWER SECTION:
> googlegroups.com. 3600 IN A 72.14.209.104
> googlegroups.com. 3600 IN A 64.233.161.104
>
> ;; AUTHORITY SECTION:
> googlegroups.com. 345600 IN NS ns1.google.com.
> googlegroups.com. 345600 IN NS ns2.google.com.
> googlegroups.com. 345600 IN NS ns3.google.com.
> googlegroups.com. 345600 IN NS ns4.google.com.
>
> This time I got a full TTL."googlegroups.com" as an example.
>
> % dig googlegroups.com
>
> ;; ANSWER SECTION:
> googlegroups.com. 3520 IN A 64.233.161.104
> googlegroups.com. 3520 IN A 72.14.209.104
>
> ;; AUTHORITY SECTION:
> googlegroups.com. 345520 IN NS ns3.google.com.
> googlegroups.com. 345520 IN NS ns4.google.com.
> googlegroups.com. 345520 IN NS ns1.google.com.
> googlegroups.com. 345520 IN NS ns2.google.com.
>
> This tells me that ns1.google.com is one of the authoritative
> servers for the domain.
>
> % dig @ns1.google.com. googlegroups.com
>
> ;; ANSWER SECTION:
> googlegroups.com. 3600 IN A 72.14.209.104
> googlegroups.com. 3600 IN A 64.233.161.104
>
> ;; AUTHORITY SECTION:
> googlegroups.com. 345600 IN NS ns1.google.com.
> googlegroups.com. 345600 IN NS ns2.google.com.
> googlegroups.com. 345600 IN NS ns3.google.com.
> googlegroups.com. 345600 IN NS ns4.google.com.
>
> This time I got a full TTL.
>
> This won't always work (some servers are improperly configure, or
> maybe a firewall prevents you contacting anything but the company
> DNS server).


Thanks a lot! That is what I needed!

Sergei

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h55.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10239 seconds with 11 queries