miekg / exdns

Go DNS example programs
BSD 2-Clause "Simplified" License
300 stars 60 forks source link

Add local address flag #27

Closed mgumz closed 4 years ago

mgumz commented 4 years ago

Sometimes it is required to use a specific local IP address to send the DNS requests from. This commit adds the "-laddr" flag to the available command line options.