Forum Discussion
petras123_10972
Apr 11, 2012Nimbostratus
DNS resolve - hosts file
Hi All,
pleas help me.
I'm traying configure APM portal access, but I dont have any DNS server in DMZ. So I added records into hosts file (by GUI), but the APM doesn't work and in the sessi...
kunjan_118660
Cumulonimbus
Currently host file not supported.
One option may be to create a DNS virtual server locally, and use iRule to respond.
when DNS_REQUEST {
set ttl 60
set A "[DNS::question name]. $ttl [DNS::question class] [DNS::question type]"
switch [string tolower [DNS::question name]] {
"www1.arsenal.com" {
DNS::answer insert "$A 10.10.10.10"
}
"www2.arsenal.com" {
DNS::answer insert "$A 20.20.20.20"
}
}
DNS::return
}
Aviv
Sep 21, 2015Cirrus
Hi Kujan! could you explain\show the virtual server you have created? what do u mean "DNS virtual server locally"
what is the type of the VS?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects