Please help. I am a novice at Linux administration. What I need to do is setup my server so that it will cache DNS lookups so that if the main DNS server is down (or lost internet connectivity), it will remember the addresses.
Let me explain...
I wrote a web based point of sale system that uses names for identifying devices (receipt printer, check scanner, etc). The nameserver is not the same server as the webserver that runs the app. When the Internet connection is down, these lookups fail to happen and the cash register doesn't work. What I need is for the webserver to remember the address that goes with the devices so it will use that cached info in case the dns server is unavailable. I have tried following the instructions on this site:
but it didn't work. I think it is looking in /etc/bind/named.conf instead of /etc/named.conf when named starts. When I copy the modified named.conf to /etc/bind/ I get errors.
Any ideas?
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
Let me explain...
I wrote a web based point of sale system that uses names for identifying devices (receipt printer, check scanner, etc). The nameserver is not the same server as the webserver that runs the app. When the Internet connection is down, these lookups fail to happen and the cash register doesn't work. What I need is for the webserver to remember the address that goes with the devices so it will use that cached info in case the dns server is unavailable. I have tried following the instructions on this site:
but it didn't work. I think it is looking in /etc/bind/named.conf instead of /etc/named.conf when named starts. When I copy the modified named.conf to /etc/bind/ I get errors.
Any ideas?
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.