I want to have an Alias of iwww for the default internal webserver. I have the following setup in the DualServer.ini file but its not working what am I doing wrong.
[STATIC-HOSTS]
#This is where hosts (CNAMES) and their
#IPs needs to be specified
#DNS will resolve as per
#entries here, in addition to
#DHCP alotted addresses.
#Bare names automatically
#assume local domainname.
#however hosts here need not be local
#MX and alias needs to
#be given in respected sections
#no alias in this section
#www entry can be put here
#for default web server of domain
xxxx.net=192.168.0.240
[ALIASES]
#These are alias names
#ALIAS should be bare name
#while CNAME can be local or FQDN,
#pointing anywhere in the world
#This server will resolve them
#ensure CNAME in right of
#= and ALIAS is on left
#in form ALIAS=CNAME
iwww=xxxx.net
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
goto any linux client and put following command
$host iwww
you will see result
iwww.domainname is an alias for xxxx.net
xxxx.net has address 192.168.0.240
However if you want above results from following query:-
$host domainname
you need to also set
www=192.168.0.240
in [static-hosts] section
this should work
write back if not working
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to have an Alias of iwww for the default internal webserver. I have the following setup in the DualServer.ini file but its not working what am I doing wrong.
[STATIC-HOSTS]
#This is where hosts (CNAMES) and their
#IPs needs to be specified
#DNS will resolve as per
#entries here, in addition to
#DHCP alotted addresses.
#Bare names automatically
#assume local domainname.
#however hosts here need not be local
#MX and alias needs to
#be given in respected sections
#no alias in this section
#www entry can be put here
#for default web server of domain
xxxx.net=192.168.0.240
[ALIASES]
#These are alias names
#ALIAS should be bare name
#while CNAME can be local or FQDN,
#pointing anywhere in the world
#This server will resolve them
#ensure CNAME in right of
#= and ALIAS is on left
#in form ALIAS=CNAME
iwww=xxxx.net
goto any linux client and put following command
$host iwww
you will see result
iwww.domainname is an alias for xxxx.net
xxxx.net has address 192.168.0.240
However if you want above results from following query:-
$host domainname
you need to also set
www=192.168.0.240
in [static-hosts] section
this should work
write back if not working
thanks
Alternatively, just addd www=iwwww in [ALIASES] section without changing your entries.
Alternatively, just addd www=iwww in [ALIASES] section without changing your entries.
It apperats the alias is looking for a iwww.xxx where xxx is net or com or something.
Anyway i can get around this with adding a .net to the end so no reall problem.