Bail if unable to bind #1328
-
Context: I'm running DnsServer on macOS as a background service using The problem: When DnsServer fails to bind to a port because the respective interface is not yet available, it falls back to defaults (e.g. binds to Solution idea: Add a setting (maybe a command line parameter) that makes bind errors fatal. If the process exits, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Thanks for the post. Does using Is it possible to add any kind of sleep statement before starting the DNS service? In that case, a sleep for a few seconds would also work. |
Beta Was this translation helpful? Give feedback.
Thanks for the details. It seems that a command line option that you suggested would be a proper solution. Will get that added in the next update.