User may want to configure DNS resolution for just few domains, and get others out of DNS resolution.
Product Version: 2.10
The way to do this is with would be to fill Bosh Director Tile -> Settings tab -> BOSH DNS Config -> Handlers, and add the domain server in following way
[
{
"cache": {
"enabled": true
},
"domain": "your.own.domain.com.",
"source": {
"recursors": [
"##.##.##.##"
],
"type": "dns"
}
}
]
That will allow the query on ##.##.##.##.## only for your.own.domain.com.
If you want to resolve all subdomains that contains "own.domain.com", such us "my.own.domain.com", "your.own.domain.com", etc, then you can leave the common part: "own.domain.com" and every domain containing it will also be resolved.
If you need to add totally different domains, just add a section for each one. E.g
[
{
"cache": {
"enabled": true
},
"domain": "my.own.domain1.com.",
"source": {
"recursors": [
"##.##.##.##"
],
"type": "dns"
}
},
{
"cache": {
"enabled": true
},
"domain": "my.own.domain2.com.",
"source": {
"recursors": [
"##.##.##.##"
],
"type": "dns"
}
}
]