Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Adding DNS Server to a PPP Adapter for Azure VPN

$
0
0

Hi,

We are currently using Azure VPN but when we install the standard VPN client it requires that you have local admin rights.

To work around this we are creating our own VPN connection using the phonebook files and running RASDIAL.

When the standard azure vpn connect is made (using the installed client) the setting looks like this:

PPP adapter xxxxxx:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : xxxxxxx
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.10.9(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : 10.123.0.4
   NetBIOS over Tcpip. . . . . . . . : Enabled

When i create the same VPN connection using the phonebook file (in the VPN installation exe) and run RASDIAL wit hthis phonebook entry the connection looks like the following:

PPP adapter xxxxxx:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : xxxxxxx
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.10.9(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled

The issue is the DNS Server doesn't appear. It's the same phonebook file that is used by the azure client. Within this file is are setting as follows:

IpAddress=0.0.0.0
IpDnsAddress=10.123.0.4
IpDns2Address=0.0.0.0
IpWinsAddress=0.0.0.0
IpWins2Address=0.0.0.0

I can see it's trying to set the dns server and it's the same file used by the other but it just wont set it.

Can anyone give me some ideas on this. Sorry if it's not absolutely clear . I've learn this whole VPN and phonebook (PBK) process in the last 24 hours so it's very new to me.

Regards.

Simon.


Viewing all articles
Browse latest Browse all 6513

Trending Articles