Page 1 of 1

Force DNS on specific domain name

Posted: Sun Feb 06, 2011 10:26 am
by eucalyptus30
Hi everybody,

I have a VPN witch work perfectly. I route all client traffic through the VPN perfectly.

BUT i want to do that when the VPN is activated, the IP associated to a specific domain name change. (In fact, it's like add a line in the hosts file [10.8.0.1 mywebsite.com]).
And when the VPN is shutting down, the IP associated is restored.
Have you an idea?

Sorry for my bad English (I’m French).

Thank you,
Eucalyptus30

Re: Force DNS on specific domain name

Posted: Tue Feb 08, 2011 1:03 pm
by maikcat
hi there,

how about using a nameserver inside your lan?
would this solve the problem you have?

if yes check --dhcp-option type [parm] documentation (dns server)

cheers,

michael.

Re: Force DNS on specific domain name

Posted: Sat May 21, 2011 2:40 pm
by eucalyptus30
I realy don't no how configure a nameserver :-(

Re: Force DNS on specific domain name

Posted: Mon May 23, 2011 7:24 am
by maikcat
hi there,

if you use the dns service from windows is relatively easy to configure
bind (*nix) is very powerfull but a little more difficult...

both require basic knowledge of DNS...

Michael.