Nslookup cannot find name servers without wwwDetermining Domain Base Name from Nslookup Resultsdig / nslookup cannot resolve, but ping can
Can Medicine checks be used, with decent rolls, to completely mitigate the risk of death from ongoing damage?
Should I join an office cleaning event for free?
What is the offset in a seaplane's hull?
Shell script can be run only with sh command
Draw simple lines in Inkscape
Can I make popcorn with any corn?
How old can references or sources in a thesis be?
New order #4: World
Why is "Reports" in sentence down without "The"
Is there a minimum number of transactions in a block?
Showing the closure of a compact subset need not be compact
Concept of linear mappings are confusing me
How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)
Finding files for which a command fails
least quadratic residue under GRH: an EXPLICIT bound
Why is an old chain unsafe?
Patience, young "Padovan"
Download, install and reboot computer at night if needed
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
Is there a familial term for apples and pears?
Why Is Death Allowed In the Matrix?
Modification to Chariots for Heavy Cavalry Analogue for 4-armed race
Is it possible to make sharp wind that can cut stuff from afar?
Nslookup cannot find name servers without www
Determining Domain Base Name from Nslookup Resultsdig / nslookup cannot resolve, but ping can
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Our site is responding to nslookup if it is fully written.
nslookup www.example.com
- it responds and shows name servers.
But if we write without www,
like nslookup example.com
- it cannot find name servers.
What may be the problem?
I have these records:
@ IN NS ns1.example.com.
localhost.example.com. IN A 127.0.0.1
ns1.example.com. IN A ip_add_of_www
What else should I add?
nslookup
add a comment |
Our site is responding to nslookup if it is fully written.
nslookup www.example.com
- it responds and shows name servers.
But if we write without www,
like nslookup example.com
- it cannot find name servers.
What may be the problem?
I have these records:
@ IN NS ns1.example.com.
localhost.example.com. IN A 127.0.0.1
ns1.example.com. IN A ip_add_of_www
What else should I add?
nslookup
add a comment |
Our site is responding to nslookup if it is fully written.
nslookup www.example.com
- it responds and shows name servers.
But if we write without www,
like nslookup example.com
- it cannot find name servers.
What may be the problem?
I have these records:
@ IN NS ns1.example.com.
localhost.example.com. IN A 127.0.0.1
ns1.example.com. IN A ip_add_of_www
What else should I add?
nslookup
Our site is responding to nslookup if it is fully written.
nslookup www.example.com
- it responds and shows name servers.
But if we write without www,
like nslookup example.com
- it cannot find name servers.
What may be the problem?
I have these records:
@ IN NS ns1.example.com.
localhost.example.com. IN A 127.0.0.1
ns1.example.com. IN A ip_add_of_www
What else should I add?
nslookup
nslookup
edited 2 days ago
JdeBP
37.8k478182
37.8k478182
asked 2 days ago
it devit dev
464
464
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
DNS is similar to a database of names.
If you do not put there a record, it won't answer to it when being consulted /read.
So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com
As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.
Using bind syntax, where @ is shorthand for your domain:
@ IN A 192.0.2.1
Where 192.0.2.0 is the same address of the A RR attributed to www.
As in:
$TTL 86400
@ IN SOA startech60serve root.startech60serve.com (
2018110201 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
IN NS x.x.x.x
www IN A 192.0.2.1
@ IN A 192.0.2.1
After changing, you need to restart increase the serial.
After increasing, you either restart the service or do a
rndc reload
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
1
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
3
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
|
show 4 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510645%2fnslookup-cannot-find-name-servers-without-www%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
DNS is similar to a database of names.
If you do not put there a record, it won't answer to it when being consulted /read.
So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com
As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.
Using bind syntax, where @ is shorthand for your domain:
@ IN A 192.0.2.1
Where 192.0.2.0 is the same address of the A RR attributed to www.
As in:
$TTL 86400
@ IN SOA startech60serve root.startech60serve.com (
2018110201 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
IN NS x.x.x.x
www IN A 192.0.2.1
@ IN A 192.0.2.1
After changing, you need to restart increase the serial.
After increasing, you either restart the service or do a
rndc reload
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
1
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
3
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
|
show 4 more comments
DNS is similar to a database of names.
If you do not put there a record, it won't answer to it when being consulted /read.
So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com
As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.
Using bind syntax, where @ is shorthand for your domain:
@ IN A 192.0.2.1
Where 192.0.2.0 is the same address of the A RR attributed to www.
As in:
$TTL 86400
@ IN SOA startech60serve root.startech60serve.com (
2018110201 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
IN NS x.x.x.x
www IN A 192.0.2.1
@ IN A 192.0.2.1
After changing, you need to restart increase the serial.
After increasing, you either restart the service or do a
rndc reload
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
1
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
3
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
|
show 4 more comments
DNS is similar to a database of names.
If you do not put there a record, it won't answer to it when being consulted /read.
So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com
As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.
Using bind syntax, where @ is shorthand for your domain:
@ IN A 192.0.2.1
Where 192.0.2.0 is the same address of the A RR attributed to www.
As in:
$TTL 86400
@ IN SOA startech60serve root.startech60serve.com (
2018110201 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
IN NS x.x.x.x
www IN A 192.0.2.1
@ IN A 192.0.2.1
After changing, you need to restart increase the serial.
After increasing, you either restart the service or do a
rndc reload
DNS is similar to a database of names.
If you do not put there a record, it won't answer to it when being consulted /read.
So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com
As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.
Using bind syntax, where @ is shorthand for your domain:
@ IN A 192.0.2.1
Where 192.0.2.0 is the same address of the A RR attributed to www.
As in:
$TTL 86400
@ IN SOA startech60serve root.startech60serve.com (
2018110201 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
IN NS x.x.x.x
www IN A 192.0.2.1
@ IN A 192.0.2.1
After changing, you need to restart increase the serial.
After increasing, you either restart the service or do a
rndc reload
edited 2 days ago
answered 2 days ago
Rui F RibeiroRui F Ribeiro
42k1483142
42k1483142
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
1
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
3
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
|
show 4 more comments
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
1
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
3
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com
– it dev
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
Add it before or after that IN A,. I prefer it before.
– Rui F Ribeiro
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
can you write fully please? What line should I add?
– it dev
2 days ago
1
1
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
The line is in the answer. I cannot add your data as mobile /phone bound for now
– Rui F Ribeiro
2 days ago
3
3
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).
– muru
2 days ago
|
show 4 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510645%2fnslookup-cannot-find-name-servers-without-www%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown