FROM solomon_dns1
CMD ["/usr/sbin/sshd", "-D"]
PATH=$HOME/bin
PS1="\! \h:\W> "
HISTFILESIZE=1000
HISTSIZE=1000
HISTTIMEFORMAT='%Y-%m-%d %T '
alias h='history 20'
$TTL 360
@ SOA NS1.DNSLAB.NCNU.ORG. admin.dnslab.ncnu.org. (
2024122501 ;serial no.
30m ;refresh - 2nd wait before checking for updates
15m ;retry - 2nd wait before retrying
1d ;expire - zone on 2nd server becomes invalid
5m ;negative cache (not found) on resolver
);
@ IN NS ns1.dnslab.ncnu.org.
ns1 AAAA 2001:470:1f04:1ac:1225:242:ac11:2
zone "dnslab.ncnu.org" {
type primary;
file "/etc/bind/primary/dnslab.ncnu.org";
};
student3 NS ns1.student3
ns1.student3 AAAA 2001:470:1f04:1ac:1225:242:ac11:3
$TTL 360
@ SOA ns1.studentX.dnslab.ncnu.org. admin.studentX.dnslab.ncnu.org. (
2024122501 ;serial no.
30m ;refresh - 2nd wait before checking for updates
15m ;retry - 2nd wait before retrying
1d ;expire - zone on 2nd server becomes invalid
5m ;negative cache (not found) on resolver
);
@ IN NS ns1.studentX.dnslab.ncnu.org.
ns1 AAAA 2001:470:1f04:1ac:1225:242:ac11:X
zone "studentX.dnslab.ncnu.org" {
type primary;
file "/etc/bind/primary/studentX.dnslab.ncnu.org";
};
WWW A 198.51.100.1
AAAA 2001:db8::1
HINFO "FreeBSD 14.2" "CPU:3.4GHz*2 RAM:16GB"
TXT "A fake machine"
host1 A6 64 ::1 isp1
host2 A6 64 ::2 isp1
isp1 A6 0 2001:db8::
$ORIGIN c.a.1.0.4.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.
$TTL 5m
@ SOA localhost. nobody.localhost. 2024122501 1d 12h 1w 5m
; Serial, Refresh, Retry, Expire, Neg. cache TTL
NS localhost.
X.0.0.0.1.1.c.a.2.4.2.0.5.2.2.1 300 IN PTR ns1.studentX.dnslab.ncnu.org.
zone "c.a.1.0.4.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa" {
type primary;
file "/etc/bind/primary/2001:470:1f04:1ac";
};
@ IN NS ns1.Test.studentX.dnslab.ncnu.org.
ns1 AAAA 2001:470:1f04:1ac:1225:242:ac11:X
test IN NS ns1.Test.studentX.dnslab.ncnu.org.
ns1.test AAAA 2001:470:1f04:1ac:1225:242:ac11:X