View previous topic :: View next topic |
Author |
Message |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Wed Jul 06, 2005 4:24 pm Post subject: [OFF] Trouver son DNS? (resolu) |
|
|
Je sais que c'est une question bete, mais comment fait-on pour trouver qui est notre DNS upstream? _________________ Votre moment detente
What is the nature of conflict?
Last edited by Trevoke on Wed Jul 06, 2005 5:16 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NiLuJe Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 06 Nov 2004 Posts: 303 Location: Paris, France
|
Posted: Wed Jul 06, 2005 4:36 pm Post subject: |
|
|
Avec un dig (de bind-tools) ?
Cf la sortie de 'dig free.fr' chez moi :
Code: | ; <<>> DiG 9.3.1 <<>> free.fr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51757
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;free.fr. IN A
;; ANSWER SECTION:
free.fr. 1468 IN A 213.228.0.42
;; Query time: 7 msec
;; SERVER: 212.27.54.252#53(212.27.54.252)
;; WHEN: Wed Jul 6 18:35:23 2005
;; MSG SIZE rcvd: 41 |
SERVER: 212.27.54.252 <= magie, c'est l'ip du DNS primaire de chez Free (Que j'ai aussi sur la page Status de mon routeur, donc doit y'avoir sûrement des trucs beaucoup plus simple pour les récupérer ^^)
Bon, si y'a un serveur DNS sur le local et qu'on passe par lui, ça doit être un peu moins efficace tout de suite, mais je sais pas trop en fait :/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Wed Jul 06, 2005 5:15 pm Post subject: |
|
|
Decidement, qu'est-ce que je me sens con quand je pose une question ![Laughing :lol:](images/smiles/icon_lol.gif) _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NiLuJe Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 06 Nov 2004 Posts: 303 Location: Paris, France
|
Posted: Wed Jul 06, 2005 5:22 pm Post subject: |
|
|
Meuuhh naaaan ! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Wed Jul 06, 2005 8:12 pm Post subject: |
|
|
Note: "whois" marche beaucoup mieux quand meme. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
penguin_totof Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/101348096741cc469e51694.jpg)
Joined: 04 Aug 2004 Posts: 227 Location: Lyon, France
|
Posted: Wed Jul 06, 2005 9:19 pm Post subject: |
|
|
Note: "nslookup" est pas mal non plus... ![Razz :P](images/smiles/icon_razz.gif) _________________ 1001111100100001110010011100100111111001
1001111100100100110010011100111001100111
1001111100100110010010011100111110011111
1001111100100111000010011100111001100111
1000000100100111100011000001100111111001 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Enlight Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/34498084446f6e929bedfd.jpg)
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Fri Jul 08, 2005 12:14 pm Post subject: |
|
|
Yop!
J'm'étais fait griller (car j'avais decouvert la commande juste avant que tu ne poses la question mais c'était déjà résolu quand je suis tombé sur le topic), mais il me semble qu'il y'a pas mal de raisons de préférer dig ... ils en parlaient dans le "advanced bash scripting how-to". Tu pourras le trouver sur ce site : http://www.tldp.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spider312 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/85234545644c350f34e5e7.jpg)
Joined: 02 Oct 2004 Posts: 1274 Location: France > Savoie > Chambery
|
Posted: Fri Jul 08, 2005 1:39 pm Post subject: |
|
|
Trevoke wrote: | Note: "whois" marche beaucoup mieux quand meme. | ça n'a rien à voir, whois regarde les infos d'un domaine, et t'indique donc les DNS utilisées par ce domaine, alors que dig fais des requetes DNS depuis ta machine, et donc te donne des infos sur des host et sur les DNS que tu utilises |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Jul 08, 2005 1:47 pm Post subject: |
|
|
Okay.. Je vois. Merci. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spider312 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/85234545644c350f34e5e7.jpg)
Joined: 02 Oct 2004 Posts: 1274 Location: France > Savoie > Chambery
|
Posted: Fri Jul 08, 2005 1:47 pm Post subject: |
|
|
penguin_totof wrote: | Note: "nslookup" est pas mal non plus... ![Razz :P](images/smiles/icon_razz.gif) | c'est un vieil outil, dig est certes un peu plus complexe à manier, mais ce n'est qu'une conséquence de sa grande puissance et de sa grande modularité |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cylgalad Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Sat Jul 09, 2005 9:08 am Post subject: |
|
|
Et un cat /etc/resolv.conf (ou cat /etc/ppp/resolv.conf) ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|