Raspberrypi.dns: Unterschied zwischen den Versionen

Aus OrgaMon Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
  apt-get install bind9-doc bind9 dnsutils
  apt-get install bind9-doc bind9 dnsutils
   
   
== /etc/resolv.conf ==
# Generated by resolvconf
domain lummerland
#nameserver 192.168.115.25
nameserver 192.168.115.46
   
   
== /etc/network/interfaces ==
# interfaces(5) file used by ifup(8) and ifdown(8)
   
   
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet static
  address 192.168.115.46
  netmask 255.255.255.0
  gateway 192.168.115.115
== Rechte ==
  chmod 644 db.*
  chmod 644 db.*
  systemctl start bind9
  systemctl start bind9

Version vom 28. September 2018, 22:14 Uhr

apt-get install bind9-doc bind9 dnsutils

/etc/resolv.conf

# Generated by resolvconf
domain lummerland
#nameserver 192.168.115.25
nameserver 192.168.115.46

/etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8) 

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto eth0
iface eth0 inet static
 address 192.168.115.46
 netmask 255.255.255.0
 gateway 192.168.115.115

Rechte

chmod 644 db.*
systemctl start bind9


Test

resolvconf -l
dig @pi3x00 orgamon.org