Results 1 to 2 of 2
Thread: Setting up DNS redirecting
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2007
Setting up DNS redirecting
$ORIGIN home.mydomain.com. ; designates the start of this zone file in the namespace $TTL 1h ; default expiration time of all resource records without their own TTL value ; ; BIND data file for mydomain.com ; $TTL 604800 (AT) IN SOA home.mydomain.com. home.mydomain.com. ( 2011120301 ; Serial 7200 ; Refresh 120 ; Retry 2419200 ; Expire 604800) ; Default TTL ; (AT) IN NS localhost. home.mydomain.com. A 10.0.0.1 winpc IN A 10.0.0.4 voip.mydomain.com. CNAME yahoo.com. ;TEST ld IN CNAME hotmail.com. ;TEST
Currently only resolving winpc and ld works, resolving full domain names doesn't do anything, they resolve to their public IP addresses.
I had to use commas instead if (AT) in place of the at symbol when posting too cause of my post limit.
Does anyone know why, and how to fix?
Last edited by Slyke; 07-11-2012 at 12:09 PM.
OK, the first question I have is the ORIGIN line. Is your domain really home.mydomain.com or mydomain.com?
To easily answer this question we will use one of your DNS records that works. Which is right;
winpc.home.mydomain.com or winpc.mydomain.com?
Either way I would suggest you change the records in your zone file and remove the domain from them that way they all resolve the same way.
The adventure of a life time.
Linux User #296285