Hi,
At my hostongprovider I can/need to maintain my own zonefile. Currently everything is set like the following code-block. This means you can access my domain with http://what_you_would_like.domain.com. The problem is that due to some scripts and my statistical software I would only like to allow http://www.domain.com ! All other pre-fixes should get an error ' can find host'.
Only how? Or where can I find usefull references?
@ IN SOA ns1.provider.com. hostmaster.provider.com. (2002031317 14400 3600 2w 1d)
TXT "NL Internet"
NS ns1.provider.com.
NS ns2.provider.com.
localhost A 127.0.0.1
MX 10 mail
domain.com. A 217.115.192.11
mail A 217.115.192.11
* A 217.115.192.11
At my hostongprovider I can/need to maintain my own zonefile. Currently everything is set like the following code-block. This means you can access my domain with http://what_you_would_like.domain.com. The problem is that due to some scripts and my statistical software I would only like to allow http://www.domain.com ! All other pre-fixes should get an error ' can find host'.
Only how? Or where can I find usefull references?
Code:
$TTL 86400 @ IN SOA ns1.provider.com. hostmaster.provider.com. (2002031317 14400 3600 2w 1d)
TXT "NL Internet"
NS ns1.provider.com.
NS ns2.provider.com.
localhost A 127.0.0.1
MX 10 mail
domain.com. A 217.115.192.11
mail A 217.115.192.11
* A 217.115.192.11