没得前言,就一个简单记录
次该nginx配置文件,格式如下:
nginx
http { resolver X.X.X.X valid=5s; server { server_name www.example.com; set $dn "foo.dnsalias.net"; location / { proxy_pass http://$dn; ... } } }