Forum Discussion
petras123_10972
Nimbostratus
Apr 11, 2012DNS 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
Nimbostratus
May 22, 2014Currently 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
Cirrus
Sep 21, 2015Hi 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