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)

OSZAR »