VxRail: DNS-toimivuuden tarkistaminen dig-toiminnolla

Summary: Tässä tietämyskannan artikkelissa käsitellään asiakkaan DNS (Domain Name System) -määrityksen tarkistamista Linux Domain Information Groperin (dig) avulla, kun epäillään nimenselvitysongelmia. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

DNS-toimivuuden tarkistaminen Dig-toiminnolla

Tässä artikkelissa käsitellään Linux dig -työkalun käyttöä asiakkaan DNS-määritysten tarkistamiseen, kun epäillään nimenselvitysongelmia.

DNS-peruskysely

Kun nimipalvelinta ei ole määritetty, käytetään oletusarvoisesti /etc/resolv.conf-tiedoston DNS-ratkaisijaa. Kaivaus etsii myös A Tallenna ilman muita vaihtoehtoja.

mystic@qvxrm:~> dig esxi-vxrail-quanta-01.domain.com +short
192.0.2.100
mystic@qvxrm:~> dig esxi-vxrail-quanta-01.domain.com
; <<>> DiG 9.9.9-P1 <<>> esxi-vxrail-quanta-01.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14171
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;esxi-vxrail-quanta-01.domain.com.        IN      A

;; ANSWER SECTION:
esxi-vxrail-quanta-01.domain.com. 3600 IN A       192.0.2.100

;; Query time: 0 msec
;; SERVER: 192.0.2.200#53(192.0.2.200)
;; WHEN: Mon Oct 01 06:53:43 UTC 2018
;; MSG SIZE  rcvd: 75

Kyselykohtainen nimipalvelin

Määritä nimipalvelin, johon kysely lähetetään @ -symboli, jota seuraa viestittävän nimipalvelimen isäntänimi tai IP-osoite.

mystic@qvxrm:~> dig esxi-vxrail-quanta-01.domain.com +short
192.0.2.100

mystic@qvxrm:~> dig @192.0.2.200 esxi-vxrail-quanta-01.domain.com +short
192.0.2.100

mystic@qvxrm:~> dig @192.0.2.200 esxi-vxrail-quanta-01.domain.com

; <<>> DiG 9.9.9-P1 <<>> @192.0.2.200 esxi-vxrail-quanta-01.domain.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35841
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;esxi-vxrail-quanta-01.domain.com.        IN      A

;; ANSWER SECTION:
esxi-vxrail-quanta-01.domain.com. 3600 IN A       192.0.2.100

;; Query time: 0 msec
;; SERVER: 192.0.2.200#53(192.0.2.200)
;; WHEN: Mon Oct 01 06:54:40 UTC 2018
;; MSG SIZE  rcvd: 75

Käänteinen DNS-haku

Käytä kaivutyökalua käänteisen DNS-haun suorittamiseen, IP-osoitteen kyselyyn ja verkkotunnuksen nimen etsimiseen osoitintietueesta (PTR). Tämä tehdään käyttämällä -x -vaihtoehto, jota seuraa IP-osoite.

mystic@qvxrm:~> dig -x 192.0.2.100 +short
esxi-vxrail-quanta-01.domain.com.

mystic@qvxrm:~> dig @192.0.2.200 -x 192.0.2.100 +short
esxi-vxrail-quanta-01.domain.com.

mystic@qvxrm:~> dig -x 192.0.2.100

; <<>> DiG 9.9.9-P1 <<>> -x 192.0.2.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42434
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;100.2.0.192.in-addr.arpa.     IN      PTR

;; ANSWER SECTION:
100.2.0.192.in-addr.arpa. 3600 IN      PTR     esxi-vxrail-quanta-01.domain.com.

;; Query time: 0 msec
;; SERVER: 192.0.2.200#53(192.0.2.200)
;; WHEN: Mon Oct 01 06:55:57 UTC 2018
;; MSG SIZE  rcvd: 98
Jos asiakkaan DNS ei tue eDNS-laajennusta, tutustu asianmukaisiin tietämyskannan artikkeleihin.

Additional Information

Affected Products

VxRail Appliance Series, VxRail Software
Article Properties
Article Number: 000009594
Article Type: How To
Last Modified: 14 Jul 2026
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.