Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Edil
New Contributor

Private IP address registered on Server DNS instead of the VPN assigned IP address

Hello,

 

Remote users are connecting with Forticlient with an IPSec VPN configured in split tunnel. When I try to manage the computers by name, some of the computers cannot be found because on the Windows Server 2016 DNS the computers are getting registered not with the IP address assigned by the VPN configuration but with the private IP address of the user's home or location.

 

For example the IP address pool for the VPN goes from 10.10.50.20 to 10.10.50.200, at the user's home the user's router assigns 192.168.0.10 to the computer's nic and when it is connected with the VPN it also get the IP 10.10.50.46. When I check the A record in the DNS it have the IP address 192.168.0.10 and not 10.10.50.46. Even if I delete the A record and add it manually with 10.10.50.46, later on the system adds a new A record with the same computer name but with the 192.68.0.10 IP address. This is not happening with all computers but all of them are using the same IPSec VPN (split tunnel). For some of them the A record is properly created in the DNS with 10.10.50.XXX.

 

Please advise.

 

Regards.

 

 

 

3 REPLIES 3
Edil
New Contributor

Hello again,

 

Please I really need help on this.

 

On a couple of the computers that are getting registered with the wrong IP address I went to -> Control Panel -> Network and Sharing Center -> Network Card -> IPv4 properties -> Advanced -> DNS tab -> unselect  "Register this connection on DNS"  Whit that it works and the computer got registered with the VPN assigned IP address but if the VPN is disconnected or the computer rebooted as soon as you connect with the Forticlient, the DNS paramenters are change and the computer get registered with the private IP address again.

 

Please help.

fcb
Contributor

I too am having this same issue and my google search brought me right to this thread... Is there anyone that can help out with this if I bump this older post? I believe the way to handle it is to change the way DNS works on the Fortigate. IE: make it authoritative for the domain but then again I'm not sure if that's help either... It's a major problem for us so Edil if you came to some sort of resolution, please share.

aahmadzada
Staff
Staff

Hi fcb,

Fortigate might not have a running DNS server on it, but the behavior will be still in place.
The behavior is a result of the client's PC trying to update the DNS server with the IP addresses of the interfaces that have the option "Register this connection on DNS" enabled.

 

That option have to be fine-tuned on the OS/ Server side.

 

Ahmad

Ahmad
Labels
Top Kudoed Authors