I'm having a problem with the MacTCP Domain Name Server (DNS). Below is the problem and some attempts to resolve it.
If I set up the MacTCP DNS information like this:
Domain | IP Address | Default |
colby.edu | 137.146.210.37 | X |
. | 137.146.210.33 | |
If the server 137.146.210.33 goes down, and I query the name "colby.edu"; the name doesn't resolve but all other names do. This is a problem because everyone queries the name "colby.edu" to receive email.
However if I add another host to the end of the DNS info like this:
Domain | IP Address |
. | 137.146.210.39 |
I can access "colby.edu", at least as long as that server is up.
I have two questions:
Question 1:
Is the use of a period in the domain still valid for the MacTCP DNS information? The documentation we have for MacTCP 1.x says that using a period will substitute the Domain Name above. The documentation for 2.x doesn't mention using the period. If I replace the period in the above example that didn't work, the "colby.edu" address does resolve.
Question 2:
How exactly does MacTCP determine which server to query first and the order for querying?
I've tried this with MacTCP 2.0.4 and 2.0.6. Here is the situation:
If I set up MacTCP with domain name servers like this:
Domain | IP Address | Default |
colby.edu | 137.146.210.37 | X |
. | 137.146.210.33 | |
Everything resolves properly when both machines are up. However, when 137.146.210.33 goes down names like "server.colby.edu" are resolved properly but the name "colby.edu" is not resolved.
Later last week we had another situation. MacTCP was set up like:
Domain | IP Address | Default |
colby.edu | 137.146.1.5 | X |
. | 137.146.210.37 |
. | 137.146.210.33 | |
The name server 137.146.1.5 crashed, and the other two servers weren't being used to look up the address "colby.edu". This can be frustrating for users, one setup of MacTCP DNS will work because it doesn't have an entry for the server that is "down" while another user won't work because they do have an entry for the server that is down.
In the first case above, if I replaced the period with "colby.edu" the address "colby.edu" would resolve properly. However that isn't true for the second example.
Basically, if a name server in the Domain Name Server list goes down and you query on a name that appears in the domain name list that name may not get resolved to its IP address. I say may because in example #1 if I add the entry:
Domain | IP Address |
. | 137.146.210.37 |
to the DNS information then "colby.edu" does resolve to its proper IP address.