DNS Resolution Configuration Per Domain
search cancel

DNS Resolution Configuration Per Domain

book

Article ID: 293759

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

User may want to configure DNS resolution for just few domains, and get others out of DNS resolution.

Environment

Product Version: 2.10

Resolution

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"
  }
 }
]