resolv.conf + is it necessary to defined the domain in resolv.conf [duplicate]
This question already has an answer here:
How to enable hostname resolving in Debian? [closed]
1 answer
We have a DNS server at 103.16.36.88
that resolves all hosts and IP addresses.
more /etc/resolv.conf
# Generated by NetworkManager
search Jupiter.com
nameserver 103.16.36.88
domain Jupiter.com
But I am not sure if we need to defined also the:
domain Jupiter.com
because the domain name already set in the DNS server.
So in that case can we unset the domain Jupiter.com
, from /etc/resolv.conf
?
linux dns resolution resolv.conf
marked as duplicate by Christopher, elbarna, peterh, Stephen Kitt
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 3 at 9:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to enable hostname resolving in Debian? [closed]
1 answer
We have a DNS server at 103.16.36.88
that resolves all hosts and IP addresses.
more /etc/resolv.conf
# Generated by NetworkManager
search Jupiter.com
nameserver 103.16.36.88
domain Jupiter.com
But I am not sure if we need to defined also the:
domain Jupiter.com
because the domain name already set in the DNS server.
So in that case can we unset the domain Jupiter.com
, from /etc/resolv.conf
?
linux dns resolution resolv.conf
marked as duplicate by Christopher, elbarna, peterh, Stephen Kitt
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 3 at 9:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to enable hostname resolving in Debian? [closed]
1 answer
We have a DNS server at 103.16.36.88
that resolves all hosts and IP addresses.
more /etc/resolv.conf
# Generated by NetworkManager
search Jupiter.com
nameserver 103.16.36.88
domain Jupiter.com
But I am not sure if we need to defined also the:
domain Jupiter.com
because the domain name already set in the DNS server.
So in that case can we unset the domain Jupiter.com
, from /etc/resolv.conf
?
linux dns resolution resolv.conf
This question already has an answer here:
How to enable hostname resolving in Debian? [closed]
1 answer
We have a DNS server at 103.16.36.88
that resolves all hosts and IP addresses.
more /etc/resolv.conf
# Generated by NetworkManager
search Jupiter.com
nameserver 103.16.36.88
domain Jupiter.com
But I am not sure if we need to defined also the:
domain Jupiter.com
because the domain name already set in the DNS server.
So in that case can we unset the domain Jupiter.com
, from /etc/resolv.conf
?
This question already has an answer here:
How to enable hostname resolving in Debian? [closed]
1 answer
linux dns resolution resolv.conf
linux dns resolution resolv.conf
edited Jan 1 at 20:24
Patrick Mevzek
2,1321822
2,1321822
asked Nov 25 '18 at 12:21
yaelyael
2,48312362
2,48312362
marked as duplicate by Christopher, elbarna, peterh, Stephen Kitt
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 3 at 9:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Christopher, elbarna, peterh, Stephen Kitt
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 3 at 9:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Yes you can safely remove domain jupiter.com
. There are no use to define domain in /etc/resolv.conf
. Only search
and nameserver
entry needed.
1
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.domain
does have a purpose, please see the manual page. It is however less useful than thesearch
option.
– Patrick Mevzek
Jan 1 at 20:25
Not exactly correct. See the manual (man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…
– Christopher
Jan 1 at 20:27
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes you can safely remove domain jupiter.com
. There are no use to define domain in /etc/resolv.conf
. Only search
and nameserver
entry needed.
1
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.domain
does have a purpose, please see the manual page. It is however less useful than thesearch
option.
– Patrick Mevzek
Jan 1 at 20:25
Not exactly correct. See the manual (man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…
– Christopher
Jan 1 at 20:27
add a comment |
Yes you can safely remove domain jupiter.com
. There are no use to define domain in /etc/resolv.conf
. Only search
and nameserver
entry needed.
1
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.domain
does have a purpose, please see the manual page. It is however less useful than thesearch
option.
– Patrick Mevzek
Jan 1 at 20:25
Not exactly correct. See the manual (man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…
– Christopher
Jan 1 at 20:27
add a comment |
Yes you can safely remove domain jupiter.com
. There are no use to define domain in /etc/resolv.conf
. Only search
and nameserver
entry needed.
Yes you can safely remove domain jupiter.com
. There are no use to define domain in /etc/resolv.conf
. Only search
and nameserver
entry needed.
answered Nov 25 '18 at 12:54
affanaffan
564
564
1
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.domain
does have a purpose, please see the manual page. It is however less useful than thesearch
option.
– Patrick Mevzek
Jan 1 at 20:25
Not exactly correct. See the manual (man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…
– Christopher
Jan 1 at 20:27
add a comment |
1
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.domain
does have a purpose, please see the manual page. It is however less useful than thesearch
option.
– Patrick Mevzek
Jan 1 at 20:25
Not exactly correct. See the manual (man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…
– Christopher
Jan 1 at 20:27
1
1
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.
domain
does have a purpose, please see the manual page. It is however less useful than the search
option.– Patrick Mevzek
Jan 1 at 20:25
Per the documentation: "The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance wins.". So having both is the same as having the last one only.
domain
does have a purpose, please see the manual page. It is however less useful than the search
option.– Patrick Mevzek
Jan 1 at 20:25
Not exactly correct. See the manual (
man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…– Christopher
Jan 1 at 20:27
Not exactly correct. See the manual (
man resolv.conf
) and the duplicate close vote reference: unix.stackexchange.com/questions/486448/…– Christopher
Jan 1 at 20:27
add a comment |