Add ability to disable services
This commit is contained in:
parent
a7a8d17186
commit
b3f9c69b93
4 changed files with 9 additions and 2 deletions
dns
|
@ -6,6 +6,10 @@ function service(target, domain, host, alias, vpn) {
|
|||
alias: alias,
|
||||
vpn: vpn,
|
||||
record: function() {
|
||||
var resolved_host = this.resolve_host();
|
||||
if (!resolved_host) {
|
||||
return [];
|
||||
}
|
||||
return my_host_record(this.target, this.resolve_host(), this.vpn);
|
||||
},
|
||||
resolve_host: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue