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": [
        "168.63.130.14"
      ],
      "type": "dns"
    }
  }
]


That will allow the query on 168.63.130.14 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.domain.com.",
  "source": {
   "recursors": [
    "10.180.4.129"
   ],
   "type": "dns"
  }
 },
 {
  "cache": {
   "enabled": true
  },
  "domain": "otro.dominio.org.",
  "source": {
   "recursors": [
    "10.180.4.129"
   ],
   "type": "dns"
  }
 }
]