# DNSFirewall

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#AttackMitigationParam">AttackMitigationParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#UpstreamIPsParam">UpstreamIPsParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#AttackMitigation">AttackMitigation</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#FirewallIPs">FirewallIPs</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#UpstreamIPs">UpstreamIPs</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallNewResponse">DNSFirewallNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallListResponse">DNSFirewallListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallDeleteResponse">DNSFirewallDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallEditResponse">DNSFirewallEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallGetResponse">DNSFirewallGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/dns_firewall">client.DNSFirewall.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallNewParams">DNSFirewallNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallNewResponse">DNSFirewallNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/dns_firewall">client.DNSFirewall.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallListParams">DNSFirewallListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallListResponse">DNSFirewallListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/dns_firewall/{dns_firewall_id}">client.DNSFirewall.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallDeleteParams">DNSFirewallDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallDeleteResponse">DNSFirewallDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/dns_firewall/{dns_firewall_id}">client.DNSFirewall.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallEditParams">DNSFirewallEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallEditResponse">DNSFirewallEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/dns_firewall/{dns_firewall_id}">client.DNSFirewall.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallGetParams">DNSFirewallGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#DNSFirewallGetResponse">DNSFirewallGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Analytics

### Reports

Methods:

- <code title="get /accounts/{account_id}/dns_firewall/{dns_firewall_id}/dns_analytics/report">client.DNSFirewall.Analytics.Reports.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#AnalyticsReportService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#AnalyticsReportGetParams">AnalyticsReportGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns">dns</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns#Report">Report</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

#### Bytimes

Methods:

- <code title="get /accounts/{account_id}/dns_firewall/{dns_firewall_id}/dns_analytics/report/bytime">client.DNSFirewall.Analytics.Reports.Bytimes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#AnalyticsReportBytimeService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#AnalyticsReportBytimeGetParams">AnalyticsReportBytimeGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns">dns</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns#ByTime">ByTime</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## ReverseDNS

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSEditResponse">ReverseDNSEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSGetResponse">ReverseDNSGetResponse</a>

Methods:

- <code title="patch /accounts/{account_id}/dns_firewall/{dns_firewall_id}/reverse_dns">client.DNSFirewall.ReverseDNS.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSEditParams">ReverseDNSEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSEditResponse">ReverseDNSEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/dns_firewall/{dns_firewall_id}/reverse_dns">client.DNSFirewall.ReverseDNS.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, dnsFirewallID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSGetParams">ReverseDNSGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall">dns_firewall</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/dns_firewall#ReverseDNSGetResponse">ReverseDNSGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
