====== Infrastructure ====== **Diese und weitere Seiten im Namespace "it" befinden sich in Restrukturierung und sind WIP** Das Netzwerk ist im IP-Bereich 10.0.0.0/8 ===== DHCP ===== Der DHCP läuft im Router und verteilt Adressen im Range ''10.10.0.0'' bis ''10.10.2.255''. Die Netzmaske ist ''255.0.0.0''. Standardgateway ist * router.vspace (10.0.0.1) ===== AccessPoints ===== User aktuller AP ist der Ubuquiti UAP AC Lite und lässt sich über den controller auf [[https://unifi.vspace.one:8443|Unifi]] verwalten ===== DNS ===== Es wird der PFSense-interne DNS verwendet, welcher unter 10.0.0.1 erreichbar ist. ==== Serversettings ==== Use the following as ''/etc/resolv.conf'': **Warning: Only if you have not installed resolvconf. Otherwise this file is managed by resolvconf!** domain vspace search vspace nameserver 10.0.0.1 nameserver 8.8.8.8 Use the following ''/etc/network/interfaces'' part: **Warning: Only if the server has no tools like networkmanager installed! Otherwise this file is managed by networkmanager!** address 10.0.0.xxx netmask 255.0.0.0 gateway 10.0.0.1 For setting the Hostname on the server you should replace the following in your ''/etc/hosts'' to: 127.0.1.1 servername.vspace servername ===== Probleme ===== ==== Analyse für Linux ==== Führe dig ns02.vspace und dig @10.1.0.16 ns02.vspace aus. Werden im zweiten Fall Antworten angezeigt und im ersten Fall nicht, verwendet dein PC den falschen DNS Server. Gibt als nächstes: cat /etc/resolve.conf ein. Hier werden die verwendeten Nameserver aufgelistet. Ist dein Nameserver ''127.0.1.1'' oder ''127.0.0.1'' gehe weiter zum entsprechenden Fehler. ==== Nameserver 127.0.1.1 ==== The 127.0.1.1 entry is most likely placed there by dnsmasq which is a local daemon for serving (and crucially caching) dns and dhcp. It's possible to configure NetworkManager to not run dnsmasq as follows: edit the file ''/etc/NetworkManager/NetworkManager.conf'' and comment out the line ''dns=dnsmasq'' by placing a ''#'' at the beginning of the line. sudo nano /etc/NetworkManager/NetworkManager.conf Now restart NetworkManager: sudo service network-manager restart Next check that the 127.0.1.1 entry has vanished from /etc/resolv.conf and replaced with those obtained from your router.