neue DNS-Konfiguration
This commit is contained in:
parent
52dc52fdde
commit
c47c35dcfc
17
README.md
17
README.md
@ -76,10 +76,22 @@ Wenn alles funktioniert kannst du die Adresse 10.42.16.1 erreichbar sein
|
||||
|
||||
ping 10.42.16.1
|
||||
|
||||
BONUS: Auflösen von Adressen via dnsmasq:
|
||||
Auflösen von Adressen mittels Searchdomains:
|
||||
--------------------------------------------
|
||||
|
||||
Auf dem Mac erst folgende Anleitung durchgehen um DNS Search Domains zu fixen:
|
||||
http://www.eigenspace.org/2011/07/fixing-osx-lion-dns-search-domains/
|
||||
|
||||
Danach -> Netzwerkeinstellungen - Suchdomain -> vpn.higgsboson.tk
|
||||
|
||||
Auf Linux:
|
||||
|
||||
$ cp /etc/tinc/closedvpn/resolvconf.conf /etc/resolvconf.conf
|
||||
|
||||
Alternative: Auflösen von Adressen via dnsmasq:
|
||||
-----------------------------------------
|
||||
|
||||
$ cp /etc/tinc/closedvpn/resolv.conf /etc/resolv.conf
|
||||
$ cp /etc/tinc/closedvpn/resolvconf.conf.dnsmasq /etc/resolvconf.conf
|
||||
$ cp /etc/tinc/closedvpn/dnsmasq.conf /etc/dnsmasq.conf
|
||||
|
||||
$ apt-get install dnsmasq
|
||||
@ -87,4 +99,3 @@ BONUS: Auflösen von Adressen via dnsmasq:
|
||||
oder
|
||||
|
||||
$ pacman -S dnsmasq
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
server=/vpn/10.42.16.1
|
||||
server=/42.10.in-addr.arpa/10.42.16.1
|
||||
server=/vpn/ns.higgsboson.tk
|
||||
server=/42.10.in-addr.arpa/ns.higgsboson.tk
|
||||
server=8.8.8.8
|
||||
listen-address=127.0.0.1
|
||||
no-resolv
|
||||
|
@ -1,2 +0,0 @@
|
||||
nameserver 127.0.0.1
|
||||
search vpn
|
7
resolvconf.conf
Normal file
7
resolvconf.conf
Normal file
@ -0,0 +1,7 @@
|
||||
# Configuration for resolvconf(8)
|
||||
# See resolvconf.conf(5) for details
|
||||
|
||||
resolv_conf=/etc/resolv.conf
|
||||
|
||||
resolv_conf_options=ndots:2
|
||||
search_domains_append=vpn.higgsboson.tk
|
5
resolvconf.conf.dnsmasq
Normal file
5
resolvconf.conf.dnsmasq
Normal file
@ -0,0 +1,5 @@
|
||||
# Configuration for resolvconf(8)
|
||||
# See resolvconf.conf(5) for details
|
||||
|
||||
resolv_conf=/etc/resolv.conf
|
||||
name_servers=127.0.0.1
|
Loading…
Reference in New Issue
Block a user