Forum Discussion
Ameya_4149
Nimbostratus
Apr 30, 2012GTM as a DNS
Hi Folks,
What seemed to be a really simple DNS config is not working on the GTM.
Here is what I am trying to do.
I am trying to configure view on the GTM zone.
So I have this IP 10.10.10.10.
My client does a PTR query on this IP and depending on the port the query comes in (Assume my GTM has 4 ports.) the GTM should return it a different domain
If query comes in on port 1 -> port1.domain.net
port2 -> port2.domain.net
port3 -> port3.domain.net
port4 -> port4.domain.net
So I am creating a view in named.conf ->
view port 1 {
match-destinations {
"port1_IP";
};
match-clients {
"local_host";
};
zone {
type master;
file "/var/named/config/namedb/10.10.10.in-addr.arpa.";
};
};
Similarly I have it for port 2, 3 and 4
Now coming to zone file
db.port1.domain.net SOA abcd.domain.com ameya@adc.com
Serial no;
etc;
$ORIGIN 10.10.10.in-addr.arpa.
10 PTR port1.domain.net.
So I checked the zone (named-checkzone) and named.conf and its good.
But when I do a -x 10.10.10.10
The GTM does not reply.
I am on GTM ver 9.4.8
Would really appreciate your help.
Thanks,
Ameya
No RepliesBe the first to reply
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