func NewDefaultConfig() *Config {
	return &Config{
		TTL:                120,
		PropagationTimeout: 120*time.Second,
		PollingInterval:    2*time.Second,
		HTTPClient: &http.Client{
			Timeout: 30*time.Second,
		},
	}
}
NewDefaultConfig returns a default configuration for the DNSProvider
package pdns
import (
	"bytes"
	"encoding/json"
	"errors"
	"fmt"
	"net/http"
	"net/url"
	"time"
	"github.com/go-acme/lego/challenge/dns01"
	"github.com/go-acme/lego/log"
	"github.com/go-acme/lego/platform/config/env"
)
type Config struct {
	APIKey             string
	Host               *url.URL
	PropagationTimeout time.Duration
	PollingInterval    time.Duration
	TTL                int
	HTTPClient         *http.Client
}