Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Configure DNS lookups from the terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Configure DNS lookups from the terminal
Authored by: ChiefTypist on Jul 06, '05 11:44:35AM

Shouldn't you be using:

State:/Network/Global/DNS

instead of:

State:/Network/Service/PRIMARY_SERVICE_ID/DNS

If you've defined any DNS servers in the Network system preferences, they won't be listed in the dictionary returned by the primary interface. Also, the information in the global DNS record is an exact match for the contents of resolv.conf

-ch



[ Reply to This | # ]
Configure DNS lookups from the terminal
Authored by: DylanMuir on Sep 12, '05 03:24:42AM

I'm not sure. This didn't work for us, any changes made to .../Global/DNS wouldn't be reflected in resolv.conf.

D.



[ Reply to This | # ]