Skip to content
/ dns-ai Public

At llm to answer DNS query: DNS running on `dns.auenkr.me:9005` : Try using `dig` command

Notifications You must be signed in to change notification settings

AuenKr/dns-ai

Repository files navigation

DNS Query

Goal: Create DNS Server with ai capability

Usage

DNS Query:

dig @dns.auenkr.me -p 9005 +short TXT write.query.with.periods

Output:

No query provided.

example:

DNS Query:

dig @localhost -p 3000 +short TXT what.is.dns // Any question

Output:

The Domain Name System translates domain names to IP addresses.

DNS Query:

dig @localhost -p 3000 +short TXT what.is.100.times.30

Output:

"3000"

example

Inspire from:

Github: https://github.com/knadh/dns.toys

It only support limit no of query.

My Goal: Instead of manually calculating particular query, use LLM to answer that query.

Pros: Can answer almost any query.

Cons: It will be very slow.

How to run locally

Using docker

  1. update env variable to docker-compose.yaml file

  2. docker compose up

Without docker

  1. rename sample.env to .env

  2. go mod tidy and go install

  3. go run main.go

About

At llm to answer DNS query: DNS running on `dns.auenkr.me:9005` : Try using `dig` command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published