Closed motaz closed 2 years ago
I found a solution by using JoinIPs method, and it works, I got both DNS servers in my client network information
dnsips := make([]net.IP, 2) dnsips[0] = dnsIP dnsips[1] = dns2IP dnsJ = dhcp.JoinIPs(dnsips)
JoinIPs works fine
Is it possible to set another DNS server?
dhcp.OptionDomainNameServer