Hello!
On Wed, Aug 29, 2018 at 12:25:37PM +0530, Sharan J wrote:
> But, if I remove all the DNS servers from my resolv.conf then, the
> nameserver configured by the "resolver" directive is been used while
> parsing the configuration. Is this an expected behavior?
This depends on your system
Hi,
Thanks for the response :)
But, if I remove all the DNS servers from my resolv.conf then, the
nameserver configured by the "resolver" directive is been used while
parsing the configuration. Is this an expected behavior?
Thanks,
Shanthu
On Mon, Aug 27, 2018 at 7:00 PM Maxim Dounin wrote:
On 27/08/2018 14:30, Maxim Dounin wrote:
Hello!
On Mon, Aug 27, 2018 at 06:56:01PM +0530, Sharan J wrote:
Hi,
Sample conf:
http{
resolver x.x.x.x;
server {
server_name _;
location / {
proxy_pass http://somedomain.com;
}
}
I have nameservers configured in my
Hello!
On Mon, Aug 27, 2018 at 06:56:01PM +0530, Sharan J wrote:
> Hi,
>
> Sample conf:
>
> http{
> resolver x.x.x.x;
> server {
> server_name _;
> location / {
> proxy_pass http://somedomain.com;
> }
> }
>
> I have nameservers configured in my resolv.conf.
Hi,
Sample conf:
http{
resolver x.x.x.x;
server {
server_name _;
location / {
proxy_pass http://somedomain.com;
}
}
I have nameservers configured in my resolv.conf. But, somedomain.com will
be configured in x.x.x.x DNS server only. So, I have specified resolver