Aracılığıyla paylaş


DNS istemci çözümleme zaman aşımları

Bu belgede, bir veya daha fazla Etki Alanı Adı Sistemi (DNS) Sunucusu IP'si bir Windows DNS istemcisinde yapılandırıldığında var olan geri dönüş ve zaman aşımı davranışı açıklanmaktadır.

Şunlar için geçerlidir: Windows İstemcisi'nin desteklenen sürümleri
Özgün KB numarası: 2834226

Özet

Daha fazla bilgi için bkz . İleticiler ve koşullu ileticiler çözümleme zaman aşımları.

DNS istemcilerini birden fazla DNS Sunucusu IP'siyle yapılandırmak, DNS altyapınıza ek hataya dayanıklılık sağlar. Birden çok DNS Sunucusu IP'sinin eklenmesi, tek yapılandırılmış DNS Sunucusu, temel alınan ağ bağlantısı veya belirli bir istemciyi DNS Sunucusuna bağlayan destekleyici ağ altyapısı hataları durumunda DNS adlarının çözümlenmesine olanak tanır. Bu tür ad hataları uygulama veya bileşen kilitlenmelerine, doğrudan veya dolaylı olarak işletimsel hatalara neden olan bağımlı zaman aşımı süre sonu bekleyen kaynak kesintilerine neden olabilir.

Bu nedenlerden dolayı, birden fazla DNS sunucusuna sahip herhangi bir Windows istemcisinin yapılandırılması önerilir, ancak yapılandırdığımız DNS sunucusu sayısına bağlı olarak farklı olduğundan Windows istemci çözümleme işleminin farkında olmanız önemlidir.

NIC'de tek bir DNS sunucusu yapılandırıldığında dns istemcisinin varsayılan davranışı nedir?

Süre (başlangıçtan bu yana saniye) Eylem
0 İstemci DNS sunucusunu sorgular
1 1 saniye sonra yanıt alınmazsa istemci DNS sunucusunu yeniden sorgular
2 1 saniye sonra yanıt alınmazsa istemci DNS sunucusunu yeniden sorgular
4 2 saniye sonra yanıt alınmazsa istemci DNS sunucusunu yeniden sorgular
8 4 saniye sonra yanıt alınmazsa istemci DNS sunucusunu yeniden sorgular
10 2 saniye sonra yanıt alınmazsa istemci sorgulamayı durdurur

DNS sunucusunun herhangi bir Ad Hatası yanıtı işlemin durmasına neden olur; yanıt negatifse istemci yeniden denemez.

Bu senaryoda istemci, zaman aşımına uğramadan önce aynı DNS sunucusunu beş kez sorgulamaya çalışır.

Örnek

Tek bir DNS sunucusu yapılandırılmış Windows DNS istemcisi, Microsoft.com için sorgulama

İstemcide Ipconfig

IPv4 Adresi. . . . . . . . . . . : 10.0.0.31(Tercih Edilen)
DNS sunucuları . . . . . . . . . . : 10.0.0.1

Ağ izleme çıkışı

Time                Time Offset    TimeDelta      Source        Dest          Details  

6:23:33.8063812     0.0000000     0.0000000     10.0.0.31     10.0.0.1     DNS:QueryId = 0xA5B4, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:23:34.8026943     0.9963131     0.9963131     10.0.0.31     10.0.0.1     DNS:QueryId = 0xA5B4, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:23:35.8042696     1.9978884     1.0015753     10.0.0.31     10.0.0.1     DNS:QueryId = 0xA5B4, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:23:37.8184257     4.0120445     2.0141561     10.0.0.31     10.0.0.1     DNS:QueryId = 0xA5B4, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:23:41.8394589     8.0330777     4.0210332     10.0.0.31     10.0.0.1     DNS:QueryId = 0xA5B4, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

NIC'de iki DNS sunucusu yapılandırıldığında dns istemcisinin varsayılan davranışı nedir?

Süre (başlangıçtan bu yana saniye) Eylem
0 İstemci listenin ilk DNS sunucusunu sorgular
1 1 saniye sonra yanıt alınmazsa, istemci listenin ikinci DNS sunucusunu sorgular
2 1 saniye sonra yanıt alınmazsa, istemci listenin ikinci DNS sunucusunu yeniden sorgular
4 2 saniye sonra yanıt alınmazsa, istemci listedeki tüm sunucuları aynı anda sorgular
8 4 saniye sonra yanıt alınmazsa, istemci listedeki tüm sunucuları aynı anda sorgular
10 2 saniye sonra yanıt alınmazsa istemci sorgulamayı durdurur

DNS sunucularından herhangi birinin herhangi bir Ad Hatası yanıtı işlemin durmasına neden olur; yanıt negatifse istemci sonraki sunucuyla yeniden denemez. İstemci yeni sunucuları yalnızca önceki sunuculara ulaşılamıyorsa dener.

Örnek

Microsoft.com için sorgulama yapılandırılmış iki DNS sunucusuna sahip Windows DNS istemcisi

İstemcide Ipconfig

IPv4 Address. . . . . . . . . . . : 10.0.0.31(Preferred)
DNS Servers . . . . . . . . . . . : 10.0.0.1
                                10.0.0.2  

Ağ izleme çıkışı

Time                Time Offset    TimeDelta      Source        Dest          Details

6:28:12.5060330     0.0000000     0.0000000     10.0.0.31     10.0.0.1     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:28:13.5129164     1.0068834     1.0068834     10.0.0.31     10.0.0.2     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:28:14.5124283     2.0063953     0.9995119     10.0.0.31     10.0.0.2     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:28:16.5288823     4.0228493     2.0164540     10.0.0.31     10.0.0.1     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:28:16.5289050     4.0228720     0.0000227     10.0.0.31     10.0.0.2     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:28:20.5582196     8.0521866     4.0293146     10.0.0.31     10.0.0.1     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

6:28:20.5582475     8.0522145     0.0000279     10.0.0.31     10.0.0.2     DNS:QueryId = 0x7B1C, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet  

NIC'de üç veya daha fazla DNS sunucusu yapılandırıldığında dns istemcisinin varsayılan davranışı nedir?

Bunlardan kaç tanesi kullanılır ve zaman aşımları nelerdir?

Süre (başlangıçtan bu yana saniye) Eylem
0 İstemci listenin ilk DNS sunucusunu sorgular
1 1 saniye sonra yanıt alınmazsa, istemci listenin ikinci DNS sunucusunu sorgular
2 1 saniye sonra yanıt alınmazsa, istemci listenin üçüncü DNS sunucusunu sorgular
4 2 saniye sonra yanıt alınmazsa, istemci listedeki tüm sunucuları aynı anda sorgular
8 4 saniye sonra yanıt alınmazsa, istemci listedeki tüm sunucuları aynı anda yeniden sorgular
10 2 saniye sonra yanıt alınmazsa istemci sorgulamayı durdurur

DNS sunucularından herhangi birinin herhangi bir Ad Hatası yanıtı işlemin durmasına neden olur; yanıt negatifse istemci sonraki sunucuyla yeniden denemez. İstemci yeni sunucuları yalnızca önceki sunuculara ulaşılamıyorsa dener.

Ulaşılabilen tek sunucu 4 veya daha yüksek bir konumdaysa, asıl sorguyu denemeden önce beklenen en az 4 saniyelik bir gecikmemiz olur. DNS çözümlemesini isteyen uygulamanın bu değerden daha düşük bir uygulama çözümleme zaman aşımı varsa bu sorunlara neden olabilir. Bu sunucunun daha önce sorgulanması için tek yol ilk üç konumda ayarlamaktır.

Örnek

Microsoft.com için sorgulama yapılandırılmış beş DNS sunucusuna sahip istemci

İstemcide Ipconfig

Pv4 Address. . . . . . . . . . . : 10.0.0.31(Preferred)
DNS Servers . . . . . . . . . . . : 10.0.0.1
                                10.0.0.2
                                10.0.0.3
                                10.0.0.4
                                10.0.0.5

Ağ izleme çıkışı

Time                Time Offset    TimeDelta      Source        Dest          Details

9:50:19.4165728     0.0000000     0.0000000     10.0.0.31     10.0.0.1     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:20.4030068     0.9864340     0.9864340     10.0.0.31     10.0.0.2     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:21.4053190     1.9887462     1.0023122     10.0.0.31     10.0.0.3     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:23.4022371     3.9856643     1.9969181     10.0.0.31     10.0.0.1     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:23.4022575     3.9856847     0.0000204     10.0.0.31     10.0.0.2     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:23.4022646     3.9856918     0.0000071     10.0.0.31     10.0.0.3     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:23.4023130     3.9857402     0.0000484     10.0.0.31     10.0.0.4     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:23.4023347     3.9857619     0.0000217     10.0.0.31     10.0.0.5     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:27.4113578     7.9947850     4.0090231     10.0.0.31     10.0.0.1     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:27.4113788     7.9948060     0.0000210     10.0.0.31     10.0.0.2     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:27.4113860     7.9948132     0.0000072     10.0.0.31     10.0.0.3     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:27.4113932     7.9948204     0.0000072     10.0.0.31     10.0.0.4     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet

9:50:27.4114034     7.9948306     0.0000102     10.0.0.31     10.0.0.5     DNS:QueryId = 0xE2A2, QUERY (Standard query), Query  for microsoft.com of type Host Addr on class Internet  

Daha Fazla Bilgi

İstemci, üzerinde yapılandırılmış farklı DNS sunucularıyla birden fazla NIC'yi etkin hale getirirse, istemci çözümleme davranışı biraz farklıdır.

nslookup gibi ad çözümleme araçları kullanılıyorsa, istemci çözümleme davranışı farklıdır.