DNS Address when in DHCP

I can get my IP, Mask, Gateway, and DNS entries when I am using a static IP (via IAM). However, when I switch to DHCP, I can only get IP, Mask, and Gateway (via tf). I call tfGetPppDnsIpAddress() and it returns zero. Likewise with DNSGetServers(). I know the DHCP has DNS entries because it can resolve gethostbyaddr() calls.

Anyone know how to do this?


Did you find the solution?