DEV Community

kyorohiro (kiyohiro kawamura)
kyorohiro (kiyohiro kawamura)

Posted on

How to create DNS Client at Pure Dart

In this series, I'll show you how to create a DNS client from scratch in Dart language.

(1) Dart's Network Byte Order (ASIS OK)
(2) Generate DNS Query (ASIS OK)
(3) PARSE RESPONSE MESSAGE (TODO)
(4) ...

As a side effect.
Maybe you will be able to read and implement the RFC.

DNS RFC

https://datatracker.ietf.org/doc/html/rfc1034
https://datatracker.ietf.org/doc/html/rfc1035
https://datatracker.ietf.org/doc/html/rfc3901
https://datatracker.ietf.org/doc/html/rfc8484

COMPLETE CODE

https://github.com/kyorohiro/dart2.dns

Top comments (0)