Adding DNS Servers
One of the most valuable contributions is adding new DNS servers, especially ones that work well in Iran.DNS List Format
DNS servers are stored ininternal/dnslist/dns-list.conf (embedded in the Go binary):
The
internal/dnslist/dns-list.conf file is what the binary embeds. This is the only file you need to update.Example Entries
Adding a New DNS Server
Step 1: Verify the DNS Works
Before adding, verify the DNS server is working:Step 2: Edit dns-list.conf
Open the configuration file:Step 3: Add Your Entry
Add your DNS server in the appropriate section:Step 4: Test with DNS-MNS
Build and run the tool to verify your DNS appears:Categories
Add your DNS to the appropriate category in the file:Guidelines for Adding DNS
Submitting Your Addition
Via Pull Request (Preferred)
- Fork the repository
- Edit
dns-list.conf - Commit with message:
feat: add [DNS Name] to dns list - Open a pull request
Via Issue
If you’re not comfortable with pull requests:- Open a new issue
- Title: “Add DNS: [DNS Name]”
- Include:
- DNS name
- Primary and secondary IPs
- Location
- How you verified it works
- Where you found it
Bulk DNS Additions
If you have multiple DNS servers to add:- Create a text file with all entries
- Open a pull request or issue
- We’ll review and merge valid entries
Removing Outdated DNS
If you find a DNS server that no longer works:- Open an issue titled “DNS not working: [DNS Name]”
- Include:
- Which DNS is not working
- Error you’re seeing
- When you tested it
Privacy Considerations
When adding DNS servers:- Don’t add private/internal DNS without permission
- Verify the DNS provider is legitimate
- Note if the DNS has any content filtering