AdguardTeam / dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Apache License 2.0
2.38k stars 246 forks source link

Enhancement: Ability to specify listening address as a domain #382

Open HoodyNetwork opened 7 months ago

HoodyNetwork commented 7 months ago

Hi guys,

It seems that the parsing fails if we specify an hostname instead of an IP on -l argument, it would be quite practical to be able to do so.

./dnsproxy -l mylocaldomain.com -u 1.1.1.1