• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'lookupd' fails to query DNS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'lookupd' fails to query DNS


  • Subject: Re: 'lookupd' fails to query DNS
  • From: Michael Grigoni <email@hidden>
  • Date: Wed, 11 Jun 2008 13:42:18 -0500
  • Organization: Cybertheque Museum




Michael Grigoni wrote:

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.


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"

After startup of LaunchDaemons/* and mach_init.d/*, one or two console messages:
   "Workaround Bonjour, Function not implemented" is printed.

Output of ipconfig getoption en0 domain_name_server:
ipconfig_get_option failed, (os/kern) failure

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

Here are /Library/Preferences/SystemConfiguration/*:
preferences.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>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>

NetworkInterfaces.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


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: 'lookupd' fails to query DNS
      • From: Allan Nathanson <email@hidden>
  • Prev by Date: Re: 'lookupd' fails to query DNS
  • Next by Date: Detecting video cards where physical screens are attached
  • Previous by thread: Re: 'lookupd' fails to query DNS
  • Next by thread: Re: 'lookupd' fails to query DNS
  • Index(es):
    • Date
    • Thread