Quote:
Originally Posted by funkytwig
Hi. We have been having a problem with accessing one of our local servers which has a domain. If access it via its IP the it is very fast but if we use the domain name (its actually a noip.com dydns domain) transfusing data is very slow.
|
The reason for the slowness is most likely because of the TTL on the DNS records. They are normally set low to ensure that the dydns is most accurate. This means that the client in question needs to renew it's dns information about the server it is trying to connect to.
Quote:
So I setup a bind9 DNS and it all seems to be working well. Thing is I cant work out how to 'hard wire' the domain in question to a local IP.
|
Not sure I understand the question but I'll take a stab at it.
On the bind server you should have a zone file for your domain. Add the server as so to that zone file:
Code:
server name IN A IP Address
Quote:
I want to do this as some of the computers are laptops and the domain needs to be accesses outside our network as well as from within it. Its actually a owncloud server so havering to change between domain and IP in the oC client is not practicable.
|
You are going to have to make your dns server accessable to the internet. Then you are going to have to update your Domain DNS servers with your DNS servers IP Address (most registers require a minimum of 2 dns servers).