Sign inSign up

takapico8/bind9

By takapico8

•Updated almost 5 years ago

ubuntu[20.04.3 LTS (Focal Fossa)]/bind9

Image
0

274

takapico8/bind9 repository overview

⁠How to use this image

⁠Run bind9

% docker run -dit --rm --name bind9 -p 53:53/udp -v "$PWD"/bind9/etc/bind:/etc/bind -v "$PWD"/bind9/var/cache/bind:/var/cache/bind takapico8/bind9:latest

⁠Use bind9

% dig hoge.co.jp soa @localhost

; <<>> DiG 9.10.6 <<>> hoge.co.jp soa @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13579
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hoge.co.jp.                    IN      SOA

;; ANSWER SECTION:
hoge.co.jp.             60      IN      SOA     ns5.hoge.com. postmaster.hoge.com. 2013031000 10800 3600 604800 86400

;; Query time: 2 msec
;; SERVER: ::1#53(::1)
;; WHEN: Fri Oct 15 17:30:33 JST 2021
;; MSG SIZE  rcvd: 99

Tag summary

Content type

Image

Digest

Size

80.2 MB

Last updated

almost 5 years ago

docker pull takapico8/bind9