smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH, DoQ.…

A new way for AI to search for data
View on GitHub
11,450GitHub stars

C, C++

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit da45292975 (2026-11-01).

Selected work

Nick Peng
@pymumu

“break the http2 ctx / server_info lock order cycle”. 7 files, 250 lines in src/dns_client, test, src/http_parse.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-11-02. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

smartdnsopenwrt-packagedns-serverdns-over-httpsdns-over-tlsdnsdotdoh

Example questions

The prompt

Paste it into your AI agent. It clones pymumu/smartdns at the pinned commit and indexes it on your machine.

Search the GitHub repository pymumu/smartdns with XERJ (https://hub.xerj.org/corpus/pymumu--smartdns).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/pymumu/smartdns smartdns && git -C smartdns checkout da45292975256e983f906fbb25e2f95f993d2315
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./smartdns --url http://127.0.0.1:9200 --prefix smartdns --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: GPL-3.0. Read it for the approach only, do not copy code.

Related

Selected work and consent: the XERJ registry.