DNS/実装/python/dnslib/example/client/client2

1. client/実行例

$ python3 /usr/local/lib/python3.6/dist-packages/dnslib/client.py qmail.jp NS
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20681
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;qmail.jp.                      IN      NS
;; ANSWER SECTION:
qmail.jp.               21599   IN      NS      b.ns.qmail.jp.
qmail.jp.               21599   IN      NS      14.192.44.5.

MoinQ: DNS/実装/python/dnslib/example/client/実行例 (last edited 2021-02-27 01:57:45 by ToshinoriMaeno)