net
This commit is contained in:
parent
80c6235e1b
commit
5a299eeade
6 changed files with 4 additions and 1 deletions
58
in/public/network/bind/index.rst
Normal file
58
in/public/network/bind/index.rst
Normal file
|
@ -0,0 +1,58 @@
|
|||
####
|
||||
BIND
|
||||
####
|
||||
|
||||
******
|
||||
Domain
|
||||
******
|
||||
|
||||
* /etc/bind/named.conf.local
|
||||
|
||||
::
|
||||
|
||||
zone "sub.domain.tld" {
|
||||
type master;
|
||||
file "/etc/bind/db.sub.domain.tld";
|
||||
};
|
||||
|
||||
zone "3.2.1.in-addr.arpa" {
|
||||
type master;
|
||||
file "/etc/bind/db.3.2.1";
|
||||
};
|
||||
|
||||
* /etc/bind/db.sub.domain.tld
|
||||
|
||||
::
|
||||
|
||||
$TTL 604800
|
||||
@ IN SOA ns.sub.domain.tld. admin.sub.domain.tld. (
|
||||
2 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ; Negative Cache TTL
|
||||
)
|
||||
@ IN NS ns.sub.domain.tld.
|
||||
*.sub.domain.tld. IN A 1.2.3.78
|
||||
ns IN A 1.2.3.12
|
||||
server IN A 1.2.3.12
|
||||
dl IN A 1.2.3.34
|
||||
www IN A 1.2.3.56
|
||||
*.www IN CNAME www
|
||||
|
||||
* /etc/bind/db.3.2.1
|
||||
|
||||
::
|
||||
|
||||
$TTL 604800
|
||||
3.2.1.in-addr.arpa. IN SOA ns.sub.domain.tld. admin.sub.domain.tld. (
|
||||
1 ; Serial
|
||||
604800 ; Refresh
|
||||
86400 ; Retry
|
||||
2419200 ; Expire
|
||||
604800 ; Negative Cache TTL
|
||||
)
|
||||
3.2.1.in-addr.arpa. IN NS ns.sub.domain.tld.
|
||||
12.3.2.1.in-addr.arpa. IN PTR server.sub.domain.tld.
|
||||
34.3.2.1.in-addr.arpa. IN PTR dl.sub.domain.tld.
|
||||
56.3.2.1.in-addr.arpa. IN PTR sub.domain.tld.
|
12
in/public/network/hosts/index.rst
Normal file
12
in/public/network/hosts/index.rst
Normal file
|
@ -0,0 +1,12 @@
|
|||
*****
|
||||
Hosts
|
||||
*****
|
||||
|
||||
LocalHost
|
||||
=========
|
||||
|
||||
::
|
||||
|
||||
::1 localhost
|
||||
|
||||
127.0.0.1 localhost
|
10
in/public/network/index.rst
Normal file
10
in/public/network/index.rst
Normal file
|
@ -0,0 +1,10 @@
|
|||
Network
|
||||
=======
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
bind/index
|
||||
hosts/index
|
||||
isc-dhcp-server/index
|
||||
unbound/index
|
27
in/public/network/isc-dhcp-server/index.rst
Normal file
27
in/public/network/isc-dhcp-server/index.rst
Normal file
|
@ -0,0 +1,27 @@
|
|||
###############
|
||||
ISC-DHCP-server
|
||||
###############
|
||||
|
||||
*************
|
||||
Configuration
|
||||
*************
|
||||
|
||||
* /etc/dhcp/dhcpd.conf
|
||||
|
||||
::
|
||||
|
||||
option domain-name "sub.domain.tld";
|
||||
option domain-name-servers 1.2.3.200;
|
||||
|
||||
default-lease-time 600;
|
||||
max-lease-time 7200;
|
||||
|
||||
authoritative;
|
||||
|
||||
subnet 1.2.3.0 netmask 255.255.255.0 {
|
||||
range 1.2.3.123 1.2.3.128;
|
||||
}
|
||||
host name {
|
||||
hardware ethernet 01:23:45:67:89:ab;
|
||||
fixed-address 1.2.3.4;
|
||||
}
|
2
in/public/network/unbound/index.rst
Normal file
2
in/public/network/unbound/index.rst
Normal file
|
@ -0,0 +1,2 @@
|
|||
Unbound
|
||||
=======
|
Loading…
Add table
Add a link
Reference in a new issue