diff options
author | ficus <ficus@robocracy.org> | 2012-11-18 22:44:30 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-18 23:34:27 +0100 |
commit | 2dd3e29cb96c3802e371a25e1656c15a2363e8df (patch) | |
tree | 8866fdf46195bde816ebd7fed4c071c50cd68f04 /doc/dns-dhcp.txt | |
parent | 69e54d836e18cbfe516372d9ad31d43046b7f716 (diff) | |
download | torouter-live-2dd3e29cb96c3802e371a25e1656c15a2363e8df.tar.gz torouter-live-2dd3e29cb96c3802e371a25e1656c15a2363e8df.zip |
add serial console debugging notes
Diffstat (limited to 'doc/dns-dhcp.txt')
-rw-r--r-- | doc/dns-dhcp.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/dns-dhcp.txt b/doc/dns-dhcp.txt new file mode 100644 index 0000000..ec5caed --- /dev/null +++ b/doc/dns-dhcp.txt @@ -0,0 +1,21 @@ + +The DNS and DHCP scheme is very complicated. + +torouter itself (the base configuration) uses the OpenDNS servers, as +configured in /etc/resolv.conf. + +Seperate dnsmasq configurations and init scripts are used for local ethernet +and the transparently tor-ified wifi access point. The "regular" dnsmasq daemon +is disabled (in /etc/default/dnsmasq). The ethernet daemon makes upstream +requests "as usual" (according to /etc/resolve.conf), while the wifi daemon +makes upstream requests to ttdnsd on port 5354. + +ttdnsd is used to make upstream requests locally via Tor on port 5353. It is +configured in /etc/default/ttdnsd and listens for requests on port 5354. + +Tor is configured (in /etc/tor/torrc) to listen locally on port 5353 of address +172.16.23.1. + +The /etc/network/interfaces file makes pre- and post- interface configuration +calls to (re) start the tor, ttdnsd, and dnsmasq daemons. + |