You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Injectable()
export class AppService {
constructor(
// for connections with name default name "default" only
private pdnsService: PowerDNSService,
private pdnsAdvancedService: PowerDNSAdvancedService,
// for all connections
@InjectPDNS('default') // name is optional. Default: "default"
private pdnsService: PowerDNSService,
@InjectPDNSAdvanced('default') // name is optional. Default: "default"
private pdnsAdvancedService: PowerDNSAdvancedService,
){}
getServers(){
return this.pdnsAdvancedService.getServers();
}
getDomains(){
return this.pdnsService.getDomains();
}
}
Proxy settings for the HTTP-Client. See "Proxy settings"
rejectUnauthorized
Defines if the HTTP-Client should allow selfsigned SSL certificates
false
false
Proxy options
If your application needs a proxy to communicate with the PowerDNS-API, you can define it with the proxy settings.
You can either set the url or host, port and protocol.