Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

System and Network configuration • Bind9 for Testing Domain

$
0
0
Hi,

I try to create a local victim.local-NS with bind9 but even when I try to reach the server itself, I get the error:
"server can't find X.X.X.X.in-addr.arpa: NSDOMAIN"


This ist my db.victim.local

Code:

;; BIND data file for Zone victim.local;$TTL    604800@       IN      SOA     localhost. root.localhost. (                              2         ; Serial                         604800         ; Refresh                          86400         ; Retry                        2419200         ; Expire                         604800 )       ; Negative Cache TTL;@               IN      NS      server1.victim.local.@               IN      NS      server2.victim.local.server1         IN      A       192.168.212.219 ; Windows 2019server2         IN      A       192.168.212.223 ; Linux-Servermail            IN      A       192.168.212.223 ; Linux Server (Postfix)win7            IN      A       192.168.212.201 ; Windows 7win10           IN      A       192.168.212.202 ; Windows 10kali            IN      A       192.168.212.203 ; Kali Linuxmetasploitable  IN      A       192.168.212.206 ; Metasploitable Systemwww             IN      CNAME   server1.victim.local.   ;       Alias für Webserverftp             IN      CNAME   server1.victim.local.   ;       Alias für FTP-Server@               IN      MX 10   mail.victim.local.      ;       Mailserver für die Domain
and this my db.0.212.168.192

Code:

;; BIND reverse data file for local loopback interface;$TTL    604800@       IN      SOA     localhost. root.localhost. (                              1         ; Serial                         604800         ; Refresh                          86400         ; Retry                        2419200         ; Expire                         604800 )       ; Negative Cache TTL;@       IN      NS      server2.victim.local.219     IN      PTR     server1.victim.local.223     IN      PTR     server2.victim.local.201     IN      PTR     win7.victim.local.202     IN      PTR     win10.victim.local.203     IN      PTR     kali.victim.local.206     IN      PTR     metasploitable.victim.local.
and named.conf.local

Code:

  GNU nano 7.2                                 /etc/bind/named.conf.local                                          //// Do any local configuration here//// Consider adding the 1918 zones here, if they are not used in your// organization//include "/etc/bind/zones.rfc1918";zone "victim.local" {        type master;        file "/etc/bind/db.victim.local";};zone "212.168.192.in_addr-arpa" {        type master;        file "/etc/bind/db.0.212.168.192";};
What am I doing wrong in here?

Best regards

Timo

Statistics: Posted by tischuel — 2024-04-19 09:56 — Replies 0 — Views 31



Viewing all articles
Browse latest Browse all 3200

Trending Articles