- * Formatting notes:
- * This code follows the "Whitesmiths style" C indentation rules. Plenty of discussion
- * on C indentation can be found on the web, such as <http://www.kafejo.com/komp/1tbs.htm>,
- * but for the sake of brevity here I will say just this: Curly braces are not syntactially
- * part of an "if" statement; they are the beginning and ending markers of a compound statement;
- * therefore common sense dictates that if they are part of a compound statement then they
- * should be indented to the same level as everything else in that compound statement.
- * Indenting curly braces at the same level as the "if" implies that curly braces are
- * part of the "if", which is false. (This is as misleading as people who write "char* x,y;"
- * thinking that variables x and y are both of type "char*" -- and anyone who doesn't
- * understand why variable y is not of type "char*" just proves the point that poor code
- * layout leads people to unfortunate misunderstandings about how the C language really works.)
-
- Change History (most recent first):
-
-$Log: daemon.c,v $
-Revision 1.255.2.1 2005/07/22 21:45:04 ksekar
-Fix GCC 4.0/Intel compiler warnings
-
-Revision 1.255 2005/03/09 00:48:43 cheshire
-<rdar://problem/4015157> QU packets getting sent too early on wake from sleep
-Move "m->p->NetworkChanged = 0;" line from caller to callee
-
-Revision 1.254 2005/03/03 04:34:19 cheshire
-<rdar://problem/4025973> Bonjour name conflict dialog appears during MacBuddy
-
-Revision 1.253 2005/03/03 03:55:09 cheshire
-<rdar://problem/3862944> Name collision notifications should be localized
-
-Revision 1.252 2005/02/23 02:29:17 cheshire
-<rdar://problem/4005191> "Local Hostname is already in use..." dialogue shows for only 60 seconds before being removed
-Minor refinements, better variable names, improved comments
-
-Revision 1.251 2005/02/21 21:31:24 ksekar
-<rdar://problem/4015162> changed LogMsg to debugf
-
-Revision 1.250 2005/02/19 01:25:04 cheshire
-<rdar://problem/4005191> "Local Hostname is already in use..." dialogue shows for only 60 seconds before being removed
-Further refinements
-
-Revision 1.249 2005/02/19 00:28:45 cheshire
-<rdar://problem/4005191> "Local Hostname is already in use..." dialogue shows for only 60 seconds before being removed
-
-Revision 1.248 2005/02/19 00:18:34 cheshire
-Confusing variable name -- alertMessage should be called alertHeader
-
-Revision 1.247 2005/02/15 02:13:49 cheshire
-If we did registerBootstrapService() when starting, then we must do
-destroyBootstrapService() before exiting, or Mach init will keep restarting us.
-
-Revision 1.246 2005/02/03 00:44:37 cheshire
-<rdar://problem/3986663> DNSServiceUpdateRecord returns kDNSServiceErr_Invalid when rdlen=0, rdata=NULL
-
-Revision 1.245 2005/02/01 19:56:47 ksekar
-Moved LogMsg from daemon.c to uds_daemon.c, cleaned up wording
-
-Revision 1.244 2005/01/28 00:34:49 cheshire
-Turn off "Starting time value" log message
-
-Revision 1.243 2005/01/27 17:46:58 cheshire
-Added comment about CFSocketInvalidate closing the underlying socket
-
-Revision 1.242 2005/01/27 00:10:58 cheshire
-<rdar://problem/3967867> Name change log messages every time machine boots
-
-Revision 1.241 2005/01/25 17:28:06 ksekar
-<rdar://problem/3971467> Should not return "local" twice for domain enumeration
-
-Revision 1.240 2005/01/21 02:39:18 cheshire
-Rename FoundDomain() to DomainEnumFound() to avoid order-file symbol clash with other routine called FoundDomain()
-
-Revision 1.239 2005/01/20 00:25:01 cheshire
-Improve validatelists() log message generation
-
-Revision 1.238 2005/01/19 19:15:35 ksekar
-Refinement to <rdar://problem/3954575> - Simplify mDNS_PurgeResultsForDomain logic and move into daemon layer
-
-Revision 1.237 2005/01/19 03:33:09 cheshire
-<rdar://problem/3945652> When changing Computer Name, we drop our own Goobye Packets
-
-Revision 1.236 2005/01/19 03:16:38 cheshire
-<rdar://problem/3961051> CPU Spin in mDNSResponder
-Improve detail of "Task Scheduling Error" diagnostic messages
-
-Revision 1.235 2005/01/15 00:56:41 ksekar
-<rdar://problem/3954575> Unicast services don't disappear when logging
-out of VPN
-
-Revision 1.234 2005/01/10 03:42:30 ksekar
-Clarify debugf
-
-Revision 1.233 2004/12/18 00:53:46 cheshire
-Use symbolic constant mDNSInterface_LocalOnly instead of (mDNSInterfaceID)~0
-
-Revision 1.232 2004/12/17 23:37:48 cheshire
-<rdar://problem/3485365> Guard against repeating wireless dissociation/re-association
-(and other repetitive configuration changes)
-
-Revision 1.231 2004/12/17 04:13:38 cheshire
-Removed debugging check
-
-Revision 1.230 2004/12/17 04:09:30 cheshire
-<rdar://problem/3191011> Switch mDNSResponder to launchd
-
-Revision 1.229 2004/12/16 21:51:36 cheshire
-Remove some startup messages
-
-Revision 1.228 2004/12/16 20:13:01 cheshire
-<rdar://problem/3324626> Cache memory management improvements
-
-Revision 1.227 2004/12/10 13:52:57 cheshire
-<rdar://problem/3909995> Turn off SIGPIPE signals
-
-Revision 1.226 2004/12/10 05:27:26 cheshire
-<rdar://problem/3909147> Guard against multiple autoname services of the same type on the same machine
-
-Revision 1.225 2004/12/10 04:28:29 cheshire
-<rdar://problem/3914406> User not notified of name changes for services using new UDS API
-
-Revision 1.224 2004/12/10 00:41:05 cheshire
-Adjust alignment of log messages
-
-Revision 1.223 2004/12/07 20:42:34 cheshire
-Add explicit context parameter to mDNS_RemoveRecordFromService()
-
-Revision 1.222 2004/12/06 21:15:23 ksekar
-<rdar://problem/3884386> mDNSResponder crashed in CheckServiceRegistrations
-
-Revision 1.221 2004/11/30 03:24:04 cheshire
-<rdar://problem/3854544> Defer processing network configuration changes until configuration has stabilized
-
-Revision 1.220 2004/11/29 23:34:31 cheshire
-On platforms with coarse time resolutions, ORing time values with one to ensure they are non-zero
-is crude, and effectively halves the time resolution. The more selective NonZeroTime() function
-only nudges the time value to 1 if the interval calculation happens to result in the value zero.
-
-Revision 1.219 2004/11/25 01:00:56 cheshire
-Checkin 1.217 not necessary
-
-Revision 1.218 2004/11/24 20:27:19 cheshire
-Add missing "err" parameter in LogMsg() call
-
-Revision 1.217 2004/11/24 17:55:01 ksekar
-Added log message clarifying <rdar://problem/3869241> For unicast operations, verify that service types are legal
-
-Revision 1.216 2004/11/24 00:10:44 cheshire
-<rdar://problem/3869241> For unicast operations, verify that service types are legal
-
-Revision 1.215 2004/11/23 22:33:01 cheshire
-<rdar://problem/3654910> Remove temporary workaround code for iChat
-
-Revision 1.214 2004/11/23 22:13:59 cheshire
-<rdar://problem/3886293> Subtype advertising broken for Mach API
-
-Revision 1.213 2004/11/23 06:12:55 cheshire
-<rdar://problem/3871405> Update wording for name conflict dialogs
-
-Revision 1.212 2004/11/23 05:15:37 cheshire
-<rdar://problem/3875830> Computer Name in use message garbled
-
-Revision 1.211 2004/11/23 05:00:41 cheshire
-<rdar://problem/3874629> Name conflict log message should not have ".local" appended
-
-Revision 1.210 2004/11/03 03:45:17 cheshire
-<rdar://problem/3863627> mDNSResponder does not inform user of Computer Name collisions
-
-Revision 1.209 2004/11/03 02:25:50 cheshire
-<rdar://problem/3324137> Conflict for Computer Name should update *all* empty string services, not just the one with the conflict
-
-Revision 1.208 2004/11/03 01:54:14 cheshire
-Update debugging messages
-
-Revision 1.207 2004/11/02 23:58:19 cheshire
-<rdar://problem/2974905> mDNSResponder does not inform user of name collisions
-
-Revision 1.206 2004/10/28 02:40:47 cheshire
-Add log message to confirm receipt of SIGUSR1 (simulate network configuration change event)
-
-Revision 1.205 2004/10/28 02:21:01 cheshire
-<rdar://problem/3856500> Improve mDNSResponder signal handling
-Added SIGHUP as a way to do a forced restart of the daemon (better than kill -9)
-Added SIGUSR1 to simulate a network change notification from System Configuration Framework
-
-Revision 1.204 2004/10/27 01:57:21 cheshire
-Add check of m->p->InterfaceList
-
-Revision 1.203 2004/10/26 04:31:44 cheshire
-Rename CountSubTypes() as ChopSubTypes()
-
-Revision 1.202 2004/10/26 01:29:18 cheshire
-Use "#if 0" instead of commenting out code
-
-Revision 1.201 2004/10/25 21:41:39 ksekar
-<rdar://problem/3852958> wide-area name conflicts can cause crash
-
-Revision 1.200 2004/10/22 01:03:55 cheshire
-<rdar://problem/3375328> select() says data is waiting; recvfrom() says there is no data
-Log error message if attempt to remap stdin/stdout/stderr to /dev/null fails
-
-Revision 1.199 2004/10/19 21:33:19 cheshire
-<rdar://problem/3844991> Cannot resolve non-local registrations using the mach API
-Added flag 'kDNSServiceFlagsForceMulticast'. Passing through an interface id for a unicast name
-doesn't force multicast unless you set this flag to indicate explicitly that this is what you want
-
-Revision 1.198 2004/10/15 23:00:18 ksekar
-<rdar://problem/3799242> Need to update LLQs on location changes
-
-Revision 1.197 2004/10/12 23:38:59 ksekar
-<rdar://problem/3837065> remove unnecessary log message
-
-Revision 1.196 2004/10/04 05:56:04 cheshire
-<rdar://problem/3824730> mDNSResponder doesn't respond to certain AirPort changes
-
-Revision 1.195 2004/09/30 00:24:59 ksekar
-<rdar://problem/3695802> Dynamically update default registration domains on config change
-
-Revision 1.194 2004/09/26 23:20:35 ksekar
-<rdar://problem/3813108> Allow default registrations in multiple wide-area domains
-
-Revision 1.193 2004/09/23 23:35:27 cheshire
-Update error message
-
-Revision 1.192 2004/09/21 23:40:12 ksekar
-<rdar://problem/3810349> mDNSResponder to return errors on NAT traversal failure
-
-Revision 1.191 2004/09/21 21:05:12 cheshire
-Move duplicate code out of mDNSMacOSX/daemon.c and mDNSPosix/PosixDaemon.c,
-into mDNSShared/uds_daemon.c
-
-Revision 1.190 2004/09/21 19:51:15 cheshire
-Move "Starting time value" message from mDNS.c to mDNSMacOSX/daemon.c
-
-Revision 1.189 2004/09/21 18:17:23 cheshire
-<rdar://problem/3785400> Add version info to mDNSResponder
-
-Revision 1.188 2004/09/20 21:45:27 ksekar
-Mach IPC cleanup
-
-Revision 1.187 2004/09/17 01:08:52 cheshire
-Renamed mDNSClientAPI.h to mDNSEmbeddedAPI.h
- The name "mDNSClientAPI.h" is misleading to new developers looking at this code. The interfaces
- declared in that file are ONLY appropriate to single-address-space embedded applications.
- For clients on general-purpose computers, the interfaces defined in dns_sd.h should be used.
-
-Revision 1.186 2004/09/16 00:24:49 cheshire
-<rdar://problem/3803162> Fix unsafe use of mDNSPlatformTimeNow()
-
-Revision 1.185 2004/08/25 02:01:45 cheshire
-<rdar://problem/3774777> Need to be able to get status of Dynamic DNS Host Name Update
-
-Revision 1.184 2004/08/19 19:04:12 ksekar
-<rdar://problem/3767546>: mDNSResponder crashes when adding a record to a service
-
-Revision 1.183 2004/08/14 03:22:42 cheshire
-<rdar://problem/3762579> Dynamic DNS UI <-> mDNSResponder glue
-Add GetUserSpecifiedDDNSName() routine
-Convert ServiceRegDomain to domainname instead of C string
-Replace mDNS_GenerateFQDN/mDNS_GenerateGlobalFQDN with mDNS_SetFQDNs
-
-Revision 1.182 2004/08/13 23:57:59 cheshire
-Get rid of non-portable "_UNUSED"
-
-Revision 1.181 2004/08/11 02:02:26 cheshire
-Remove "mDNS *globalInstance" parameter from udsserver_init();
-Move CheckForDuplicateRegistrations to uds_daemon.c
-
-Revision 1.180 2004/07/13 21:24:25 rpantos
-Fix for <rdar://problem/3701120>.
-
-Revision 1.179 2004/06/19 00:02:54 cheshire
-Restore fix for <rdar://problem/3548256> Should not allow empty string for resolve domain
-
-Revision 1.178 2004/06/18 19:10:00 cheshire
-<rdar://problem/3588761> Current method of doing subtypes causes name collisions
-
-Revision 1.177 2004/06/16 23:14:46 ksekar
-<rdar://problem/3693816> Remove fix for <rdar://problem/3548256> Should not allow empty string for resolve domain
-
-Revision 1.176 2004/06/11 20:27:42 cheshire
-Rename "SocketRef" as "cfs" to avoid conflict with other plaforms
-
-Revision 1.175 2004/06/10 20:23:21 cheshire
-Also list interfaces in SIGINFO output
-
-Revision 1.174 2004/06/08 18:54:48 ksekar
-<rdar://problem/3681378>: mDNSResponder leaks after exploring in Printer Setup Utility
-
-Revision 1.173 2004/06/08 17:35:12 cheshire
-<rdar://problem/3683988> Detect and report if mDNSResponder uses too much CPU
-
-Revision 1.172 2004/06/05 00:04:26 cheshire
-<rdar://problem/3668639>: wide-area domains should be returned in reg. domain enumeration
-
-Revision 1.171 2004/06/04 08:58:30 ksekar
-<rdar://problem/3668624>: Keychain integration for secure dynamic update
-
-Revision 1.170 2004/05/30 20:01:50 ksekar
-<rdar://problem/3668635>: wide-area default registrations should be in
-.local too - fixed service registration when clients pass an explicit
-domain (broken by previous checkin)
-
-Revision 1.169 2004/05/30 01:30:16 ksekar
-<rdar://problem/3668635>: wide-area default registrations should be in
-.local too
-
-Revision 1.168 2004/05/18 23:51:26 cheshire
-Tidy up all checkin comments to use consistent "<rdar://problem/xxxxxxx>" format for bug numbers
-
-Revision 1.167 2004/05/14 16:39:47 ksekar
-Browse for iChat locally for now.
-
-Revision 1.166 2004/05/13 21:33:52 ksekar
-Clean up non-local registration control via config file. Force iChat
-registrations to be local for now.
-
-Revision 1.165 2004/05/13 04:54:20 ksekar
-Unified list copy/free code. Added symetric list for
-
-Revision 1.164 2004/05/12 22:03:08 ksekar
-Made GetSearchDomainList a true platform-layer call (declaration moved
-from mDNSMacOSX.h to mDNSEmbeddedAPI.h), impelemted to return "local"
-only on non-OSX platforms. Changed call to return a copy of the list
-to avoid shared memory issues. Added a routine to free the list.
-
-Revision 1.163 2004/05/12 02:03:25 ksekar
-Non-local domains will only be browsed by default, and show up in
-_browse domain enumeration, if they contain an _browse._dns-sd ptr record.
-
-Revision 1.162 2004/04/14 23:09:29 ksekar
-Support for TSIG signed dynamic updates.
-
-Revision 1.161 2004/04/07 01:20:04 cheshire
-Hash slot value should be unsigned
-
-Revision 1.160 2004/04/06 19:51:24 cheshire
-<rdar://problem/3605898> mDNSResponder will not launch if "nobody" user doesn't exist.
-After more discussion, we've decided to use userid -2 if "nobody" user doesn't exist.
-
-Revision 1.159 2004/04/03 01:36:55 cheshire
-<rdar://problem/3605898> mDNSResponder will not launch if "nobody" user doesn't exist.
-If "nobody" user doesn't exist, log a message and continue as "root"
-
-Revision 1.158 2004/04/02 21:39:05 cheshire
-Fix errors in comments
-
-Revision 1.157 2004/03/19 18:49:10 ksekar
-Increased size check in freeL() to account for LargeCacheRecord
-structs larger than 8k
-
-Revision 1.156 2004/03/19 18:19:19 ksekar
-Fixed daemon.c to compile with malloc debugging turned on.
-
-Revision 1.155 2004/03/13 01:57:34 ksekar
-<rdar://problem/3192546>: DynDNS: Dynamic update of service records
-
-Revision 1.154 2004/03/12 08:42:47 cheshire
-<rdar://problem/3548256>: Should not allow empty string for resolve domain
-
-Revision 1.153 2004/03/12 08:08:51 cheshire
-Update comments
-
-Revision 1.152 2004/02/05 19:39:29 cheshire
-Move creation of /var/run/mDNSResponder.pid to uds_daemon.c,
-so that all platforms get this functionality
-
-Revision 1.151 2004/02/03 22:35:34 cheshire
-<rdar://problem/3548256>: Should not allow empty string for resolve domain
-
-Revision 1.150 2004/01/28 21:14:23 cheshire
-Reconcile debug_mode and gDebugLogging into a single flag (mDNS_DebugMode)
-
-Revision 1.149 2004/01/28 02:30:08 ksekar
-Added default Search Domains to unicast browsing, controlled via
-Networking sharing prefs pane. Stopped sending unicast messages on
-every interface. Fixed unicast resolving via mach-port API.
-
-Revision 1.148 2004/01/25 00:03:20 cheshire
-Change to use mDNSVal16() instead of private PORT_AS_NUM() macro
-
-Revision 1.147 2004/01/19 19:51:46 cheshire
-Fix compiler error (mixed declarations and code) on some versions of Linux
-
-Revision 1.146 2003/12/08 21:00:46 rpantos
-Changes to support mDNSResponder on Linux.
-
-Revision 1.145 2003/12/05 22:08:07 cheshire
-Update version string to "mDNSResponder-61", including new mechanism to allow dots (e.g. 58.1)
-
-Revision 1.144 2003/11/19 23:21:08 ksekar
-<rdar://problem/3486646>: config change handler not called for dns-sd services
-
-Revision 1.143 2003/11/14 21:18:32 cheshire
-<rdar://problem/3484766>: Security: Crashing bug in mDNSResponder
-Fix code that should use buffer size MAX_ESCAPED_DOMAIN_NAME (1005) instead of 256-byte buffers.
-
-Revision 1.142 2003/11/08 22:18:29 cheshire
-<rdar://problem/3477870>: Don't need to show process ID in *every* mDNSResponder syslog message
-
-Revision 1.141 2003/11/07 02:30:57 cheshire
-Also check per-slot cache use counts in SIGINFO state log
-
-Revision 1.140 2003/10/21 19:58:26 cheshire
-<rdar://problem/3459037> Syslog messages should show TTL as signed (for overdue records)
-
-Revision 1.139 2003/10/21 00:10:18 rpantos
-<rdar://problem/3409401>: mDNSResponder should not run as root
-
-Revision 1.138 2003/10/07 20:16:58 cheshire
-Shorten syslog message a bit
-
-Revision 1.137 2003/09/23 02:12:43 cheshire
-Also include port number in list of services registered via new UDS API
-
-Revision 1.136 2003/09/23 02:07:25 cheshire
-Include port number in DNSServiceRegistration START/STOP messages
-
-Revision 1.135 2003/09/23 01:34:02 cheshire
-In SIGINFO state log, show remaining TTL on cache records, and port number on ServiceRegistrations
-
-Revision 1.134 2003/08/21 20:01:37 cheshire
-<rdar://problem/3387941> Traffic reduction: Detect long-lived Resolve() calls, and report them in syslog
-
-Revision 1.133 2003/08/20 23:39:31 cheshire
-<rdar://problem/3344098> Review syslog messages, and remove as appropriate
-
-Revision 1.132 2003/08/20 01:44:56 cheshire
-Fix errors in LogOperation() calls (only used for debugging)
-
-Revision 1.131 2003/08/19 05:39:43 cheshire
-<rdar://problem/3380097> SIGINFO dump should include resolves started by DNSServiceQueryRecord
-
-Revision 1.130 2003/08/16 03:39:01 cheshire
-<rdar://problem/3338440> InterfaceID -1 indicates "local only"
-
-Revision 1.129 2003/08/15 20:16:03 cheshire
-<rdar://problem/3366590> mDNSResponder takes too much RPRVT
-We want to avoid touching the rdata pages, so we don't page them in.
-1. RDLength was stored with the rdata, which meant touching the page just to find the length.
- Moved this from the RData to the ResourceRecord object.
-2. To avoid unnecessarily touching the rdata just to compare it,
- compute a hash of the rdata and store the hash in the ResourceRecord object.
-
-Revision 1.128 2003/08/14 19:30:36 cheshire
-<rdar://problem/3378473> Include list of cache records in SIGINFO output
-
-Revision 1.127 2003/08/14 02:18:21 cheshire
-<rdar://problem/3375491> Split generic ResourceRecord type into two separate types: AuthRecord and CacheRecord
-
-Revision 1.126 2003/08/12 19:56:25 cheshire
-Update to APSL 2.0
-
-Revision 1.125 2003/08/08 18:36:04 cheshire
-<rdar://problem/3344154> Only need to revalidate on interface removal on platforms that have the PhantomInterfaces bug
-
-Revision 1.124 2003/07/25 18:28:23 cheshire
-Minor fix to error messages in syslog: Display string parameters with quotes
-
-Revision 1.123 2003/07/23 17:45:28 cheshire
-<rdar://problem/3339388> mDNSResponder leaks a bit
-Don't allocate memory for the reply until after we've verified that the reply is valid
-
-Revision 1.122 2003/07/23 00:00:04 cheshire
-Add comments
-
-Revision 1.121 2003/07/20 03:38:51 ksekar
-<rdar://problem/3320722> Completed support for Unix-domain socket based API.
-
-Revision 1.120 2003/07/18 00:30:00 cheshire
-<rdar://problem/3268878> Remove mDNSResponder version from packet header and use HINFO record instead
-
-Revision 1.119 2003/07/17 19:08:58 cheshire
-<rdar://problem/3332153> Remove calls to enable obsolete UDS code
-
-Revision 1.118 2003/07/15 21:12:28 cheshire
-Added extra debugging checks in validatelists() (not used in final shipping version)
-
-Revision 1.117 2003/07/15 01:55:15 cheshire
-<rdar://problem/3315777> Need to implement service registration with subtypes
-
-Revision 1.116 2003/07/02 21:19:51 cheshire
-<rdar://problem/3313413> Update copyright notices, etc., in source code comments
-
-Revision 1.115 2003/07/02 02:41:24 cheshire
-<rdar://problem/2986146> mDNSResponder needs to start with a smaller cache and then grow it as needed
-
-Revision 1.114 2003/07/01 21:10:20 cheshire
-Reinstate checkin 1.111, inadvertently overwritten by checkin 1.112
-
-Revision 1.113 2003/06/28 17:27:43 vlubet
-<rdar://problem/3221246> Redirect standard input, standard output, and
-standard error file descriptors to /dev/null just like any other
-well behaved daemon
-
-Revision 1.112 2003/06/25 23:42:19 ksekar
-<rdar://problem/3249292>: Feature: New DNS-SD APIs (#7875)
-Reviewed by: Stuart Cheshire
-Added files necessary to implement Unix domain sockets based enhanced
-DNS-SD APIs, and integrated with existing Mach-port based daemon.
-
-Revision 1.111 2003/06/11 01:02:43 cheshire
-<rdar://problem/3287858> mDNSResponder binary compatibility
-Make single binary that can run on both Jaguar and Panther.
-
-Revision 1.110 2003/06/10 01:14:11 cheshire
-<rdar://problem/3286004> New APIs require a mDNSPlatformInterfaceIDfromInterfaceIndex() call
-
-Revision 1.109 2003/06/06 19:53:43 cheshire
-For clarity, rename question fields name/rrtype/rrclass as qname/qtype/qclass
-(Global search-and-replace; no functional change to code execution.)
-
-Revision 1.108 2003/06/06 14:08:06 cheshire
-For clarity, pull body of main while() loop out into a separate function called mDNSDaemonIdle()
-
-Revision 1.107 2003/05/29 05:44:55 cheshire
-Minor fixes to log messages
-
-Revision 1.106 2003/05/27 18:30:55 cheshire
-<rdar://problem/3262962> Need a way to easily examine current mDNSResponder state
-Dean Reece suggested SIGINFO is more appropriate than SIGHUP
-
-Revision 1.105 2003/05/26 03:21:29 cheshire
-Tidy up address structure naming:
-mDNSIPAddr => mDNSv4Addr (for consistency with mDNSv6Addr)
-mDNSAddr.addr.ipv4 => mDNSAddr.ip.v4
-mDNSAddr.addr.ipv6 => mDNSAddr.ip.v6
-
-Revision 1.104 2003/05/26 00:42:06 cheshire
-<rdar://problem/3268876> Temporarily include mDNSResponder version in packets
-
-Revision 1.103 2003/05/23 23:07:44 cheshire
-<rdar://problem/3268199> Must not write to stderr when running as daemon
-
-Revision 1.102 2003/05/22 01:32:31 cheshire
-Fix typo in Log message format string
-
-Revision 1.101 2003/05/22 00:26:55 cheshire
-<rdar://problem/3239284> DNSServiceRegistrationCreate() should return error on dup
-Modify error message to explain that this is technically legal, but may indicate a bug.
-
-Revision 1.100 2003/05/21 21:02:24 ksekar
-<rdar://problem/3247035>: Service should be prefixed
-Changed kmDNSBootstrapName to "com.apple.mDNSResponderRestart" since we're changing the main
-Mach message port to "com.apple.mDNSResponder.
-
-Revision 1.99 2003/05/21 17:33:49 cheshire
-Fix warnings (mainly printf format string warnings, like using "%d" where it should say "%lu", etc.)
-
-Revision 1.98 2003/05/20 00:33:07 cheshire
-<rdar://problem/3262962> Need a way to easily examine current mDNSResponder state
-SIGHUP now writes state summary to syslog
-
-Revision 1.97 2003/05/08 00:19:08 cheshire
-<rdar://problem/3250330> Forgot to set "err = mStatus_BadParamErr" in a couple of places
-
-Revision 1.96 2003/05/07 22:10:46 cheshire
-<rdar://problem/3250330> Add a few more error logging messages
-
-Revision 1.95 2003/05/07 19:20:17 cheshire
-<rdar://problem/3251391> Add version number to mDNSResponder builds
-
-Revision 1.94 2003/05/07 00:28:18 cheshire
-<rdar://problem/3250330> Need to make mDNSResponder more defensive against bad clients
-
-Revision 1.93 2003/05/06 00:00:49 cheshire
-<rdar://problem/3248914> Rationalize naming of domainname manipulation functions
-
-Revision 1.92 2003/04/04 20:38:57 cheshire
-Add $Log header
-