Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS Setup



> How do you setup Darwin to use DNS servers? I tried following the nomal
> BSD setup. BUt now Darwin isn't normal BSD now is it..
>

Probably in the FAQ under network config, but core of what you're looking
for:

niutil -createprop . /locations/resolver nameserver <ip>
niutil -createprop . /locations/resolver domain <domain>

Of course, replacing the <ip> for the ip addr of the nameserver and
replacing <domain> with the domain name you want to look up against.

Then:
ps auxw|egrep 'lookupd|named'
And then kill -USR2 each pid. Or, if you're a window's user -- reboot.

peter




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.