struct Pdns::Server

Overview

Metadata of a Server

Included Modules

Defined in:

pdns/server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def config_url : String #

The API endpoint for this server’s configuration


[View source]
def daemon_type : String #

"recursor" for the PowerDNS Recursor and "authoritative" for the Authoritative Server


[View source]
def id : String #

The id of the server, "localhost"


[View source]
def type : String #

Set to "Server"


[View source]
def url : String #

The API endpoint for this server


[View source]
def version : String #

The version of the server software


[View source]
def zones_url : String #

The API endpoint for this server’s zones


[View source]