Re: 'lookupd' fails to query DNS
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com - Allan On Jun 11, 2008, at 11:42 AM, Michael Grigoni wrote: Michael Grigoni wrote: Thanks for your reply; here is the output of 'scutil --dns'; I will insert a run of 'scutil' inside /etc/rc before 'lookupd' launches and post that result later: 'scutil --dns' run just prior to launching 'lookupd' (and when a ping to a FQDN works) reports; "No DNS configuration available" Output of ipconfig getoption en0 domain_name_server: ipconfig_get_option failed, (os/kern) failure Here are /Library/Preferences/SystemConfiguration/*: preferences.plist: NetworkInterfaces.plist: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Aside from the IP address acquired as part of the boot process, it looks as if your [netboot'd] system does not have a stored "network configuration". On Tiger systems the template configuration is part of the install image and will be updated by the Setup Assistant or by the Network pref pane. If the network has not been "configured" you won't have a DNS configuration. I'd suggest you check (and update) the /Library/Preferences/ SystemConfiguration/preferences.plist file on the netboot image. This plist should include at least one "set" (location) with at least one "service" for the Built-in Ethernet. Marc Majka wrote: Perhaps there's an error in the DNS configuration in the configuration datastore. The command "scutil --dns" will print your DNS client configuration. That would be useful to see. After startup of LaunchDaemons/* and mach_init.d/*, one or two console messages: "Workaround Bonjour, Function not implemented" is printed. FWIW, here is 'scutil; list': subKey [0] = DirectoryService:PID subKey [1] = Plugin:IPConfiguration subKey [2] = Setup: subKey [3] = Setup:/Network/HostNames subKey [4] = Setup:/System subKey [5] = State:/IOKit/PowerManagement/CurrentSettings subKey [6] = State:/Network/Interface subKey [7] = State:/Network/Interface/en0/IPv4 subKey [8] = State:/Network/Interface/en0/Link subKey [9] = State:/Network/Interface/fw0/Link subKey [10] = State:/Network/Interface/lo0/IPv4 subKey [11] = State:/Network/Interface/lo0/IPv6 subKey [12] = com.apple.DirectoryService.NotifyTypeStandard:DirectoryNodeAdded <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>System</key> <dict> <key>Network</key> <dict> <key>HostNames</key> <dict> <key>LocalHostName</key> <string>darwin1</string> </dict> </dict> <key>System</key> <dict> <key>ComputerName</key> <string>darwin1</string> <key>ComputerNameEncoding</key> <integer>1536</integer> </dict> </dict> </dict> </plist> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd "> <plist version="1.0"> <dict> <key>Interfaces</key> <array> <dict> <key>BSD Name</key> <string>en0</string> <key>IOBuiltin</key> <true/> <key>IOInterfaceType</key> <integer>6</integer> <key>IOInterfaceUnit</key> <integer>0</integer> <key>IOLocation</key> <string></string> <key>IOMACAddress</key> <data> ABEkcYZk </data> <key>IOPathMatch</key> <string>IOService:/MacRISC4PE/ht@0,f2000000/AppleMacRiscHT/pci@1/ IOPCI2PCIBridge/ethernet@F/UniNEnet/IOEthernetInterface</string> </dict> <dict> <key>BSD Name</key> <string>en1</string> <key>IOBuiltin</key> <false/> <key>IOInterfaceType</key> <integer>6</integer> <key>IOInterfaceUnit</key> <integer>1</integer> <key>IOLocation</key> <string></string> <key>IOMACAddress</key> <data> ABEkI6su </data> <key>IOPathMatch</key> <string>IOService:/MacRISC4PE/ht@0,f2000000/AppleMacRiscHT/pci@2/ IOPCI2PCIBridge/pci80211@1/AirPortPCI_MM/IOEthernetInterface</string> </dict> <dict> <key>BSD Name</key> <string>fw0</string> <key>IOBuiltin</key> <false/> <key>IOInterfaceType</key> <integer>144</integer> <key>IOInterfaceUnit</key> <integer>0</integer> <key>IOLocation</key> <string></string> <key>IOMACAddress</key> <data> ABEk//5xhmQ= </data> <key>IOPathMatch</key> <string>IOService:/MacRISC4PE/ht@0,f2000000/AppleMacRiscHT/pci@3/ IOPCI2PCIBridge/firewire@E/AppleFWOHCI/IOFireWireController/ IOFireWireLocalNode/IOFireWireIP/IOFWInterface</string> </dict> </array> </dict> </plist> Do I need to manually configure with 'scutil'? Am I wrong in assuming that 'Bonjour' should be managing the config based upon DHCP replies? During boot, the system uses the DHCP replies for nameserver, domain name, etc. until configd and lookupd start. Michael This email sent to site_archiver@lists.apple.com
participants (1)
-
Allan Nathanson