Adding "single host" do DNS
Posted on 2009-05-12
Dont know how to explain this, but an example might do the trick.
We want to move this lines (wich are from the hosts file) to the DNS server
Yes the ips are the same. I really dont know why they have one with just the hostname.
But it has to be this way, otherwize it ownt work, guess they use some sort of hoastheader check.
We have a AD domian in DNS (our.ourdomian.com)
I had no problem adding yay.external.com to DNS.
by creating a zone called external.com and and a a record called yay.
but how to make yay work.
Tried to add a new zone called yay and one a record refering to parrent (Name = same as parent folder)
with IP 220.127.116.11.
Nslookup wont find it. if i type nslookup yay
if i under the yay zone add one a test record pointing to 18.104.22.168 then
nslookup test.yay works.
But ofcause just yay do not work.
Would really like to get this to work in DNS, i have also tried adding yay to our domain as an a record. But then adress becoms yay.ourdomian.com, witch gives problems with certificate and hoast header...
Do i really have to manage a lot of hostsfiles...