PowerDNS Logo

Navigation

  • index
  • routing table |
  • next |
  • previous |
  • dnsdist documentation »
  • Reference Guides »

Webserver-related objects¶

class WebRequest¶

Represent a HTTP query, whose attributes are read-only.

body¶

The body of this query, as a string.

getvars¶

The GET parameters of this query, as a table whose keys and values are strings.

headers¶

The HTTP headers of this query, as a table whose keys and values are strings.

method¶

The method of this query, as a string.

path¶

The path of this query, as a string.

postvars¶

The POST parameters of this query, as a table whose keys and values are strings.

version¶

The HTTP version of this query, as an integer.

class WebResponse¶

Represent a HTTP response.

body¶

The body of this response, as a string.

headers¶

The HTTP headers of this response, as a table whose keys and values are strings.

status¶

The HTTP status code of this response, as an integer.

Table of Contents

  • dnsdist Overview
  • Installing dnsdist
  • Quickstart Guide
  • Running and Configuring dnsdist
  • Packet Policies
  • Statistics
  • Caching Responses
  • Exporting statistics via Carbon
  • Working with the dnsdist Console
  • DNS-over-HTTPS (DoH)
  • DNS-over-TLS
  • DNSCrypt
  • Configuring Downstream Servers
  • Dynamic Rule Generation
  • Guides
  • Server pools
  • Loadbalancing and Server Policies
  • Built-in webserver
  • Advanced Topics
  • Reference Guides
    • Configuration Reference
    • Constants
    • ComboAddress
    • Netmask
    • NetmaskGroup
    • DNSName objects
    • DNSNameSet objects
    • The DNSQuestion (dq) object
    • DNSResponse object
    • DNSHeader (dh) object
    • EDNSOptionView object
    • AsynchronousObject object
    • eBPF functions and objects
    • DNSCrypt objects and functions
    • DNS Parser
    • DNSRecord object
    • Protobuf Logging Reference
    • dnstap Logging Reference
    • Carbon export
    • SNMP reporting
    • Tuning related functions
    • Key Value Store functions and objects
    • Logging
    • Webserver-related objects
    • SVCRecordParameters
    • Custom Metrics
  • Manual Pages
  • Changelog
  • Upgrade Guide
  • Security Advisories
  • PowerDNS Security Policy
  • Glossary
  • PowerDNS/dnsdist license
  • End of life statements

Previous topic

Logging

Next topic

SVCRecordParameters

This Page

  • Show Source

Quick search

Navigation

  • index
  • routing table |
  • next |
  • previous |
  • dnsdist documentation »
  • Reference Guides »
© Copyright 2015-2023, PowerDNS.COM BV and its contributors. Created using Sphinx 1.8.6.