Use an online service to lookup the external IPv6 For that: Set the ip_type as IPv6, and make sure the ipv6_urls is configured Create an AAAA record instead of an A record in your DNS provider Configuration example { "domains": [ { "domain_name": "example.com", "sub_domains":...
packagemainimport("fmt""github.com/projectdiscovery/dnsx/libs/dnsx")funcmain() {// Create DNS Resolver with default optionsdnsClient,err:=dnsx.New(dnsx.DefaultOptions)iferr!=nil{fmt.Printf("err: %v\n",err)return}// DNS A question and returns corresponding IPsresult,err:=dnsClient.Look...
It does this by using the HTTPS protocol to hide the DNS lookup from prying eyes such as your ISP. It also significantly reduces the chance of someone intercepting and modifying the request. Please comment below if you have issues getting DNS-Over-HTTPS to work with Pi-Hole. If you found...
Use an online service to lookup the external IPv6 For that: Set the ip_type as IPv6, and make sure the ipv6_urls is configured Create an AAAA record instead of an A record in your DNS provider Configuration example { "domains": [ { "domain_name": "example.com", "sub_domains":...
For some reasons if you want to get the IP address associated to a network interface (instead of performing an online lookup), you can specify it in the configuration file this way: "ip_url": "", "ip_interface": "interface-name", With interface-name replaced by the name of the networ...