[En-Nut-Discussion] No DNS addresses with DHCP

Jean Pierre Gauthier jp.gauthier at wanadoo.fr
Tue Dec 28 23:01:44 CET 2004


Hello,
I have a small problem with DHCP call and the returned DNS addresses. 

NutDhcpIfConfig returns good values (allocated address, mask, gateway addr)
and status, but DNS addresses are not set. 
DHCP ParseReply routine well and always detects primary/secondary DNS
address, but NutDnsConfig2 isn't called later so that doc.doc_ip1 and
doc.doc_ip2 remain null in DNS structures. 
(if I force an horribilis NutDnsConfig2 call in ParseReply with detected DNS
addresses as parameters, all become Ok)

DHCP server is a classical SMC7004VBR WAN gateway and sends one and its own
IP address as DNS server. 

Any idea?

Jean Pierre






More information about the En-Nut-Discussion mailing list