Foro de elhacker.net

Comunicaciones => Redes => Mensaje iniciado por: APOKLIPTICO en 28 Noviembre 2012, 18:56 pm



Título: Problemas con DNS y Windows 2003 Server.
Publicado por: APOKLIPTICO en 28 Noviembre 2012, 18:56 pm
Hola!! Tengo una pequeña red montada sobre VMWare Workstation para pruebas.
Esta está compuesta por:
- Servidor con Win2003 Server con dos adaptadores. Uno conectado a internet y el otro conectado a un segmento de red. En este tengo instalado un servidor DNS, DHCP, WINS y Active Directory con un dominio. Utilizo network address translation (NAT) para repartir el internet al resto de las pcs del segmento (Como si fuese un router).
- Cliente con Windows 7 conectado al segmento y parte del dominio.
- 2 x Cliente con Windows XP conectado al segmento y parte del dominio.

El adaptador que se conecta a internet tiene la IP 192.168.1.104 (Asignada por mi router) y el que actúa como router tiene la IP 192.168.2.1 y trabaja en la subnet 192.168.2.100-254.

Todo anda perfecto, tanto el DHCP, WINS, AD como el DNS en todos los clientes. El problema es la resolución de nombres en el servidor. Tarda siglos en resolver. Esto no ocurre en los clientes, en los cuales la resolución es muy rápida. En el servidor si utilizo nslookup la resolución es tan rápida como en los clientes, pero si por ejemplo hago "ping www.google.com" tarda mucho (13-15 segundos) en resolver la dirección.
Posteo la salida de los comandos ipconfig /all y route print del servidor.

Código
  1. Windows IP Configuration
  2.  
  3.   Host Name . . . . . . . . . . . . : apok-server
  4.   Primary Dns Suffix  . . . . . . . : apokliptico.net
  5.   Node Type . . . . . . . . . . . . : Hybrid
  6.   IP Routing Enabled. . . . . . . . : Yes
  7.   WINS Proxy Enabled. . . . . . . . : No
  8.   DNS Suffix Search List. . . . . . : apokliptico.net
  9.  
  10.  
  11. Ethernet adapter Local Area Connection:
  12.  
  13.   Connection-specific DNS Suffix  . :
  14.   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
  15.   Physical Address. . . . . . . . . : XX-XX-XX-XX-E3-E5
  16.   DHCP Enabled. . . . . . . . . . . : No
  17.   IP Address. . . . . . . . . . . . : 192.168.2.1
  18.   Subnet Mask . . . . . . . . . . . : 255.255.0.0
  19.   IP Address. . . . . . . . . . . . : fe80::250:56ff:fe37:e3e5%4
  20.   Default Gateway . . . . . . . . . : 192.168.1.1
  21.   DNS Servers . . . . . . . . . . . : 127.0.0.1
  22.                                       fec0:0:0:ffff::1%2
  23.                                       fec0:0:0:ffff::2%2
  24.                                       fec0:0:0:ffff::3%2
  25.   Primary WINS Server . . . . . . . : 192.168.2.1
  26.  
  27. Ethernet adapter Local Area Connection 2:
  28.  
  29.   Connection-specific DNS Suffix  . :
  30.   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #
  31. 2
  32.   Physical Address. . . . . . . . . : XX-XX-XX-XX-0D-B0
  33.   DHCP Enabled. . . . . . . . . . . : Yes
  34.   Autoconfiguration Enabled . . . . : Yes
  35.   IP Address. . . . . . . . . . . . : 192.168.1.104
  36.   Subnet Mask . . . . . . . . . . . : 255.255.255.0
  37.   IP Address. . . . . . . . . . . . : fe80::250:56ff:fe37:db0%5
  38.   Default Gateway . . . . . . . . . : 192.168.1.1
  39.   DHCP Server . . . . . . . . . . . : 192.168.1.1
  40.   DNS Servers . . . . . . . . . . . : 127.0.0.1
  41.                                       fec0:0:0:ffff::1%1
  42.                                       fec0:0:0:ffff::2%1
  43.                                       fec0:0:0:ffff::3%1
  44.   Lease Obtained. . . . . . . . . . : Miércoles, 28 de Noviembre de 2012 03:48:
  45. 22 a.m.
  46.   Lease Expires . . . . . . . . . . : Jueves, 29 de Noviembre de 2012 03:48:22
  47. a.m.
  48.  
  49. Tunnel adapter Teredo Tunneling Pseudo-Interface:
  50.  
  51.   Connection-specific DNS Suffix  . :
  52.   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
  53.   Physical Address. . . . . . . . . : FF-FF-FF-FF-FF-FF-FF-FF
  54.   DHCP Enabled. . . . . . . . . . . : No
  55.   IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%6
  56.   Default Gateway . . . . . . . . . :
  57.   NetBIOS over Tcpip. . . . . . . . : Disabled
  58.  
  59. Tunnel adapter Automatic Tunneling Pseudo-Interface:
  60.  
  61.   Connection-specific DNS Suffix  . :
  62.   Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface
  63.   Physical Address. . . . . . . . . : XX-XX-02-01
  64.   DHCP Enabled. . . . . . . . . . . : No
  65.   IP Address. . . . . . . . . . . . : fe80::5efe:192.168.2.1%2
  66.   Default Gateway . . . . . . . . . :
  67.   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%2
  68.                                       fec0:0:0:ffff::2%2
  69.                                       fec0:0:0:ffff::3%2
  70.   NetBIOS over Tcpip. . . . . . . . : Disabled
  71.  
  72. Tunnel adapter Automatic Tunneling Pseudo-Interface:
  73.  
  74.   Connection-specific DNS Suffix  . :
  75.   Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface
  76.   Physical Address. . . . . . . . . : XX-XX-01-68
  77.   DHCP Enabled. . . . . . . . . . . : No
  78.   IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.104%2
  79.   Default Gateway . . . . . . . . . :
  80.   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
  81.                                       fec0:0:0:ffff::2%1
  82.                                       fec0:0:0:ffff::3%1
  83.   NetBIOS over Tcpip. . . . . . . . : Disabled
  84.  
  85. C:\Documents and Settings\Administrator>route print
  86.  
  87. IPv4 Route Table
  88. ===========================================================================
  89. Interface List
  90. 0x1 ........................... MS TCP Loopback interface
  91. 0x2 ...XX XX XX XX e3 e5 ...... Intel(R) PRO/1000 MT Network Connection - Packet
  92. Scheduler Miniport
  93. 0x3 ...XX XX XX XX 0d b0 ...... Intel(R) PRO/1000 MT Network Connection #2 - Pac
  94. ket Scheduler Miniport
  95. ===========================================================================
  96. ===========================================================================
  97. Active Routes:
  98. Network Destination        Netmask          Gateway       Interface  Metric
  99.          0.0.0.0          0.0.0.0      192.168.1.1      192.168.2.1     10
  100.          0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.104     10
  101.        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1      1
  102.      192.168.0.0      255.255.0.0      192.168.2.1      192.168.2.1     10
  103.      192.168.1.0    255.255.255.0    192.168.1.104    192.168.1.104     10
  104.    192.168.1.104  255.255.255.255        127.0.0.1        127.0.0.1     10
  105.    192.168.1.255  255.255.255.255    192.168.1.104    192.168.1.104     10
  106.      192.168.2.1  255.255.255.255        127.0.0.1        127.0.0.1     10
  107.    192.168.2.255  255.255.255.255      192.168.2.1      192.168.2.1     10
  108.        224.0.0.0        240.0.0.0    192.168.1.104    192.168.1.104     10
  109.        224.0.0.0        240.0.0.0      192.168.2.1      192.168.2.1     10
  110.  255.255.255.255  255.255.255.255    192.168.1.104    192.168.1.104      1
  111.  255.255.255.255  255.255.255.255      192.168.2.1      192.168.2.1      1
  112. Default Gateway:       192.168.1.1
  113. ===========================================================================
  114. Persistent Routes:
  115.  None
  116.  
  117. Persistent Routes:
  118.  None
  119.  


Título: Re: Problemas con DNS y Windows 2003 Server.
Publicado por: cyber89 en 28 Noviembre 2012, 22:00 pm
Veo que en esta interfaz tienes declarado 127.0.0.1 como server DNS, pero cuando tu instalas un Server DNS tengo entendido que el campo se deja en blanco. Ademas veo que estas usando tambien direcciones IPv6 que si en realidad tu red no usa esto deberias des-habilitarlas

 :huh:

Ethernet adapter Local Area Connection:
 
  Connection-specific DNS Suffix  . :
  Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
  Physical Address. . . . . . . . . : XX-XX-XX-XX-E3-E5
  DHCP Enabled. . . . . . . . . . . : No
  IP Address. . . . . . . . . . . . : 192.168.2.1
  Subnet Mask . . . . . . . . . . . : 255.255.0.0
  IP Address. . . . . . . . . . . . : fe80::250:56ff:fe37:e3e5%4
  Default Gateway . . . . . . . . . : 192.168.1.1
  DNS Servers . . . . . . . . . . . : 127.0.0.1
                                      fec0:0:0:ffff::1%2
                                      fec0:0:0:ffff::2%2
                                      fec0:0:0:ffff::3%2
  Primary WINS Server . . . . . . . : 192.168.2.1


Título: Re: Problemas con DNS y Windows 2003 Server.
Publicado por: APOKLIPTICO en 28 Noviembre 2012, 22:17 pm
No podés dejarlo en blanco el DNS...
Alguna otra sugerencia??


Título: Re: Problemas con DNS y Windows 2003 Server.
Publicado por: HdM en 29 Noviembre 2012, 11:38 am
Hola.

Si dejas las tarjetas configuradas así, ¿notas algún cambio?:

Código
  1. Ethernet adapter Local Area Connection:
  2.  
  3.  Connection-specific DNS Suffix  . :
  4.  Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
  5.  Physical Address. . . . . . . . . : XX-XX-XX-XX-E3-E5
  6.  DHCP Enabled. . . . . . . . . . . : No
  7.  IP Address. . . . . . . . . . . . : 192.168.2.1
  8.  Subnet Mask . . . . . . . . . . . : 255.255.0.0
  9.  IP Address. . . . . . . . . . . . : fe80::250:56ff:fe37:e3e5%4
  10.  Default Gateway . . . . . . . . . :
  11.  DNS Servers . . . . . . . . . . . :
  12.                                      fec0:0:0:ffff::1%2
  13.                                      fec0:0:0:ffff::2%2
  14.                                      fec0:0:0:ffff::3%2
  15.  Primary WINS Server . . . . . . . : 192.168.2.1
  16.  
  17. Ethernet adapter Local Area Connection 2:
  18.  
  19.  Connection-specific DNS Suffix  . :
  20.  Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #
  21. 2
  22.  Physical Address. . . . . . . . . : XX-XX-XX-XX-0D-B0
  23.  DHCP Enabled. . . . . . . . . . . : Yes
  24.  Autoconfiguration Enabled . . . . : Yes
  25.  IP Address. . . . . . . . . . . . : 192.168.1.104
  26.  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  27.  IP Address. . . . . . . . . . . . : fe80::250:56ff:fe37:db0%5
  28.  Default Gateway . . . . . . . . . : 192.168.1.1
  29.  DHCP Server . . . . . . . . . . . : 192.168.1.1
  30.  DNS Servers . . . . . . . . . . . : 192.168.2.1
  31.                                      fec0:0:0:ffff::1%1
  32.                                      fec0:0:0:ffff::2%1
  33.                                      fec0:0:0:ffff::3%1

Un saludo.


Título: Re: Problemas con DNS y Windows 2003 Server.
Publicado por: APOKLIPTICO en 29 Noviembre 2012, 16:29 pm
Desactivé el IPV6 y ahora funciona bien, rarisimo...