Forum Discussion
DNS resolve - hosts file
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 session log is message "host.name.x.y" cannot be resolved. But ping from CLI works properly.
Do you have any idea please. THX
- hooleylistCirrostratusHi Petras,
- Koni_51721Cirrus
Hello
I have exactly the same problem. Is there any solution?
Thanks
- brad_11480Nimbostratus
so this is hanging open.. i have the same problem. so is it that APM does not honor the host file and ONLY references DNS? Beginning to conclude that is the case (unfortunately). Very inconsistent with standard setups.
- kunjan_118660Cumulonimbus
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 }
- brad_11480Nimbostratusfantastic solution. thanks. that will work just fine for what we need!
- AvivCirrusHi 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?
- kunjanNimbostratus
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 }
- brad_11480Nimbostratusfantastic solution. thanks. that will work just fine for what we need!
- AvivCirrusHi 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?
- theXfactor82_91Nimbostratus
Anyone know if there is a fix for this other than using the above Virtual/irule combination?
Recent Discussions
Related Content
* 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