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
Force DNS on specific domain name
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Feb 06, 2011 9:45 am
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Force DNS on specific domain name
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.
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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Feb 06, 2011 9:45 am
Re: Force DNS on specific domain name
I realy don't no how configure a nameserver 

- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Force DNS on specific domain name
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.
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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"