Forum Discussion
RiverFish
Dec 04, 2013Altostratus
GTM iRule split DNS
Greetings!
I was hoping you guys could scrutinize this iRule. The goal is to have the GTM return internal addresses to internal DNS queries and public addresses to public DNS queries. I also wan...
Hamish
Dec 17, 2013Cirrocumulus
Ahhh... You sound like you're editing the config files by hand... Why not use tmsh to do this? e.g. something like
tmsh create ltm data-group ....
to give something like
ltm data-group internal local_address_class {
records {
10.0.0.0/8 {
data internal
}
}
type ip
}
The translation data-groups (e.g. gte_translate_internet) will look something like this
ltm data-group internal gte_translate_internet {
records {
192.168.99.25/32 {
data 172.16.1.1
}
}
type ip
}
and is again created (Or edited) using tmsh (or the GUI)
create ltm data-group internal test { type ip records add { 192.168.22.33 { data 172.16.1.1 }}}
obviousy if your DG already exists use modify, not create.
H
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