Page 1 of 1

bind forward one hostname to another host

Posted: Wed Dec 06, 2017 10:07 pm
by mister_v
Hi,

Do you know how to bind forward one hostname to another host?

I tried :

Code: Select all

foo.example.com.    IN   A   192.168.1.1
bar.example.com.    IN   A   foo.example.com.

Re: bind forward one hostname to another host

Posted: Wed Dec 06, 2017 10:10 pm
by chris
Almost correct,
You need to add CNAME

Code: Select all

foo.example.com.    IN   A           192.168.1.1
bar.example.com.    IN   CNAME   foo.example.com.