Traditionally when we assign DNS servers to hosts we assign more than one. For example, we may assign 18.104.22.168 as a primary an 22.214.171.124 as a secondary so in the unlikely event that one is ever down, we have a second one to fall back on. When we set up a single Pi-hole server with … Read more
The logging module provides the capacity to create multiple logger objects each with different properties, allowing for flexibility over the routing of log messages. By using logging instead of print statements to provide feedback on the operation of our code we make it more maintainable and easier to home in on the specific information needed when investigating bugs.