dns-windows job from dns/0.0.1
Github source:
b7c10ce
or
master branch
Properties¶
address
¶
Address in which the DNS server will bind
- Default
169.254.0.2
alias_files_glob
¶
Glob for any files to look for DNS alias information
- Default
C:\var\vcap\jobs\*\dns\aliases.json
aliased_address
¶
Address that will be added by default
- Default
169.254.0.2
aliases
¶
Hash of domain key to target domains array for aliased DNS lookups
- Example
-
cc.cf.consul: - one - two - '...' third.internal: - four
health
¶
ca_tls_cert
¶Root CA for the health service.
enabled
¶Enable healthchecks for DNS resolution
- Default
false
server_port
¶Port to run healthchecks server on
- Default
8080
server_tls_cert
¶The health daemon’s TLS cert.
server_tls_key
¶Private key for the health daemon’s TLS cert.
healthcheck_domains
¶
Domain names that the dns server should respond to with successful answers. Answer ip will always be 127.0.0.1
- Default
- healthcheck.bosh-dns. - consul.service.cf.internal.
override_nameserver
¶
Configure ourselves as the system nameserver (e.g. network server addresses will be watched and overwritten)
- Default
true
records_file
¶
Path to the file containing information that the DNS server will use to create DNS records
- Default
C:\var\vcap\instance\dns\records.json
recursor_timeout
¶
A timeout value for when dialing, writing and reading from the configured recursors
- Default
2s
recursors
¶
Addresses of upstream DNS servers used for recursively resolving queries
- Default
[]
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/dns-windows/
directory
(learn more).
bin/dns_ctl.ps1
(fromdns_ctl.ps1.erb
)bin/healthcheck_ctl.ps1
(fromhealthcheck_ctl.ps1.erb
)bin/post-start.ps1
(frompost-start.ps1.erb
)config/certs/ca.pem
(fromca.pem.erb
)config/certs/server.key
(fromserver.key.erb
)config/certs/server.pem
(fromserver.pem.erb
)config/config.json
(fromconfig.json.erb
)config/healthcheck_server_config.json
(fromhealthcheck_server_config.json.erb
)dns/aliases.json
(fromaliases.json.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.