BIND9 Lokale Netzwerk Domain

Heute möchte ich euch zeigen wie ihr eure eigene Domain in eurem Netzwerk erstellen könnt.

1. – named.conf.local Konfiguration

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]zone „local.net“
{
type master;
file „/etc/bind/zones/local.net.db“;
};[/otw_shortcode_info_box]

2. – local.net.db Konfiguration

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]$TTL 300
@ IN SOA ns.local.net hostmaster.local.net. (
2017042900;
28800;
3600;
604800;
38400;
);

@ IN NS ns.root.net.
ns IN A 192.168.1.XXX

pcxyz IN A 192.168.1.XXX
pcabc IN A 192.168.1.XXX
mail IN A 192.168.1.XXX

@ IN MX 1 mail.local.net.
[/otw_shortcode_info_box]

3. – BIND9 Neustarten

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]/etc/init.d/bind9 restart[/otw_shortcode_info_box]

Das könnte Sie auch interessieren …

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert