[Openswan Users] not resolve host name

sasa sasa at shoponweb.it
Wed Dec 29 22:23:02 CET 2004


"Jacco de Leeuw" wrote:

> I have also noticed a problem with DNS resolution on Windows:
> 
> http://lists.openswan.org/pipermail/users/2004-November/002832.html

.. on xp machine I have tried to configure on internet connection in the "secondary dns" the ip:

192.168.0.36

..now ipconfig /all (the first PPP is internet connection, the second PPP is vpn connection):

Scheda PPP tin:
Suffisso DNS specifico per connessione:
Descrizione . . . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Indirizzo fisico. . . . . . . . . . . : 00-53-45-00-00-00
DHCP abilitato. . . . . . . . . . . . : No
Indirizzo IP. . . . . . . . . . . . . : 213.45.204.232
Subnet mask . . . . . . . . . . . . . : 255.255.255.255
Gateway predefinito . . . . . . . . . : 213.45.204.232
Server DNS . . . . . . . . . . . . .  : 192.168.0.36
NetBIOS su TCPIP. . . . . . : Disabilitato

Scheda PPP Pix:
Suffisso DNS specifico per connessione:
Descrizione . . . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Indirizzo fisico. . . . . . . . . . . : 00-53-45-00-00-00
DHCP abilitato. . . . . . . . . . . . : No
Indirizzo IP. . . . . . . . . . . . . : 192.168.0.37
Subnet mask . . . . . . . . . . . . . : 255.255.255.255
Gateway predefinito . . . . . . . . . :
Server DNS . . . . . . . . . . . . .  : 192.168.0.36

..when on xp client I execute:

nslookup dnsserver (name of dns server machine), on the vpn gateway:
 
[root at fw root]# tcpdump -i ppp0
tcpdump: listening on ppp0
22:07:44.316246 192.168.0.37.1415 > 192.168.0.36.domain:  1+ PTR? 58.0.0.10.in-addr.arpa. (40)
22:07:44.319313 192.168.0.36.domain > 192.168.0.37.1415:  1 NXDomain 0/1/0 (117)
22:07:44.587087 192.168.0.37.1416 > 192.168.0.36.domain:  2+ PTR? 58.0.0.10.in-addr.arpa. (40)
22:07:44.587504 192.168.0.36.domain > 192.168.0.37.1416:  2 NXDomain 0/1/0 (117)
22:07:44.842405 192.168.0.37.1417 > 192.168.0.36.domain:  3+ A? server3. (25)
22:07:44.842754 192.168.0.36.domain > 192.168.0.37.1417:  3 ServFail 0/0/0 (25)

??
still thanks.
Salvatore.


More information about the Users mailing list