LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-05-2011, 03:05 AM   #1
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,714

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Question What 'Domain name' and 'Name servers' do I use in Debian install setup?


Hi.

I was installing Debian-6.0.2.1-i386-NetInstall in VirtualBox.

What 'Domain name' and 'Name servers' do I use in Debian install setup?

For the domain name I saw some YT video add 'gateway.2wire.net' and other YT video users left it blank.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	Configure the network - domain name.gif
Views:	449
Size:	25.3 KB
ID:	7476   Click image for larger version

Name:	Configure the network - name servers.gif
Views:	320
Size:	24.2 KB
ID:	7477  
 
Old 07-05-2011, 03:09 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
If you don't have a domain name then localdomain is conventional (by usage, not standard by RFC).

If you want to resolve domain names to IP addresses the the name servers need to be the IP addresses of effective name servers, else it doesn't matter.
 
Old 07-05-2011, 03:23 AM   #3
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,714

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Question

Quote:
Originally Posted by catkin View Post
If you don't have a domain name then localdomain is conventional (by usage, not standard by RFC).

If you want to resolve domain names to IP addresses the the name servers need to be the IP addresses of effective name servers, else it doesn't matter.
Hi catkin. That was a prompt reply.

I am running a stand alone PC at home so I presume that means I don't have domain name. Would putting in localdomain be better than leaving it blank? I connect to my modem/router (Thomson TG585 v7 Router) to access the internet.

So I leave the name servers section blank?

Also, I am going to install Debian on my old laptop which is currently setup like so: ext4 with seperate home and root partitions. I notice that Debian 6 only has ext3 – how will that work out?

Last edited by linustalman; 07-05-2011 at 03:24 AM.
 
Old 07-05-2011, 07:02 AM   #4
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
Posts: 123

Rep: Reputation: 19
Im using ext4 for my Debian Squeeze install.
 
Old 07-05-2011, 08:16 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by LinusStallman View Post
I am running a stand alone PC at home so I presume that means I don't have domain name. Would putting in localdomain be better than leaving it blank?
Mostly it doesn't matter but there are some circumstances (mail sever configuration?) in which it does matter and sometimes it is less confusing to see localdomain than (not to) see blank.
Quote:
Originally Posted by LinusStallman View Post
I connect to my modem/router (Thomson TG585 v7 Router) to access the internet.
That's nice; I hope you are very happy together . Seriously, I cannot think of a way in which that is relevant to choosing which domain name to configure
Quote:
Originally Posted by LinusStallman View Post
So I leave the name servers section blank?
Not if you want to resolve any domain names to IP addresses. If that doesn't make sense, please say so.
Quote:
Originally Posted by LinusStallman View Post
I notice that Debian 6 only has ext3
That is not correct.
 
Old 07-05-2011, 10:00 AM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
If you're thinking of having a home network then you could use 'domain.org' . Then each computer would be named sally.domain.org, gonad.domain.org, etc..

I will now be assasinated by catkin.
 
Old 07-05-2011, 02:06 PM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by LinusStallman View Post

What ... 'Name servers' do I use in Debian install setup? I am running a stand alone PC at home so I presume that means I don't have domain name... I connect to my modem/router (Thomson TG585 v7 Router) to access the internet.

So I leave the name servers section blank?
There are two different problems that you could be asking about, here. I think I know which of them you mean, but:
  • If the concern is (this is the one that I don't think applies in this case) that you want to access other machines on your local network by name
and
  • You don't want to hard code the names of each machine (each server) on your network in each other machine, you'll need DNS locally
.

Unless you are doing something that you haven't told us about with virtual machines, what I have just described is not what you mean.
  • OTOH, if you want to use sites on the internet, by name (eg www.linuxquestions.org and not the slightly less memorable (and not necessarily constant) 75.126.162.20), you'll want to hook up to a name server that knows about names on the wider internet.

In essence, there are a load of nameservers out there on the internet that you could use - google have some, OpenDNS is another provider and probably your ISP has their own (but beware that some of the less good ISPs have nameservers that are continuously on the edge of overload, and the performance of those will be poor - this is a common reason for 'my browsing performance is nothing like what my ISP promises, but my download speed is OK', although, obviously browsing speed can be poor for other reasons, too).

Usually, the ADSL m/r is capable of caching (a small number of) DNS lookups, so, if you tell your workstation that your m/r is the DNS server, it all works out - your workstation queries the m/r, and the m/r gets the info, if it doesn't already have it, from the wider internet. On a more complex network, you could run your own, local, caching nameserver, which, because it could have a larger cache may be a theoretically better performing solution, but this difference, in a network this simple probably is negligible.

The m/r knows of a nameserver either
  • because you configured it, in, eg, the m/r's web interface
  • the ISP configured it (presumably to their own) either initially, or via DHCP
 
Old 07-05-2011, 10:22 PM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by lugoteehalt View Post
If you're thinking of having a home network then you could use 'domain.org' . Then each computer would be named sally.domain.org, gonad.domain.org, etc..

I will now be assasinated by catkin.
Prepare to meet your doom!

The problem with any domain name which is legitimate is that it might exist -- if not now then in the future. In the case of domain.org, it does exist and currently resolves to 216.34.94.184. If you decide to use domain.org locally then either you set up a local name resolution system that ensures it always resolves locally (in which case you can't access the "real" domain.org) or you don't and it is useless.

Similarly example.com currently resolves to 192.0.43.10.

It would be useful to have an RFC specifying domain names that can only be resolved to private network addresses but AFAIK no such RFC exists so we are left with using domain names that are not legitimate such as the popular localdomain.
 
Old 07-05-2011, 11:45 PM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Turns out there is a related RFC as explained at http://www.iana.org/domains/example/ where it says:

Example Domains

As described in RFC 2606, we maintain a number of domains such as EXAMPLE.COM and EXAMPLE.ORG for documentation purposes. These domains may be used as illustrative examples in documents without prior coordination with us. They are not available for registration.


RFC 2606 does not answer the OP question, though, because its scope is domain names for testing, documentation and obvious invalidity.

localdomain lives on!
 
Old 07-06-2011, 09:40 AM   #10
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,714

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
So to sum things up, am I correct to enter localdomain as my domain name and something like 8.8.8.8 8.8.4.4 for my name servers?

Originally Posted by LinusStallman: I connect to my modem/router (Thomson TG585 v7 Router) to access the internet.
Quote:
Originally Posted by catkin View Post
That's nice; I hope you are very happy together . Seriously, I cannot think of a way in which that is relevant to choosing which domain name to configure.
catkin, I appreciate your help but there is not need to be a smart alec about it. I thought it may have been relevant.

Last edited by linustalman; 07-06-2011 at 10:31 AM.
 
Old 07-06-2011, 12:41 PM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by LinusStallman View Post
catkin, I appreciate your help but there is not need to be a smart alec about it. I thought it may have been relevant.
I am sorry you found my words disrespectful they were not intended that way.
 
Old 07-06-2011, 03:03 PM   #12
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
Quote:
Originally Posted by LinusStallman View Post
So to sum things up, am I correct to enter localdomain as my domain name and something like 8.8.8.8 8.8.4.4 for my name servers?

Originally Posted by LinusStallman: I connect to my modem/router (Thomson TG585 v7 Router) to access the internet.


catkin, I appreciate your help but there is not need to be a smart alec about it. I thought it may have been relevant.
i think you should put the address of your router as name server. It fetches the DNS from your ISP automatically and works as 'DNS proxy' or something like that.
 
Old 07-06-2011, 03:09 PM   #13
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,714

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by catkin View Post
I am sorry you found my words disrespectful they were not intended that way.
Hi catkin. I understand, apology accepted.
 
1 members found this post helpful.
Old 07-07-2011, 12:06 AM   #14
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by qrange View Post
i think you should put the address of your router as name server. It fetches the DNS from your ISP automatically and works as 'DNS proxy' or something like that.
That's a good way of doing it when your ISP's DNS service is functioning well.
 
Old 07-07-2011, 02:03 AM   #15
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
@catkin

hm, yes. well on rare occasions ISP DNS server might be down, while internet is working.
that's why it's a good idea to type in secondary DNS too. think you can do it both in router and debian.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.2 setup on Debian, question about name servers lppatmore Linux - Newbie 3 01-08-2011 10:49 AM
WHM/Cpanel setup domain keys/spf so every new created domain have it kingkashif Linux - General 2 08-29-2009 12:53 PM
One domain-two servers centosfan Linux - Server 2 01-23-2008 05:48 PM
Setup BIND for Local Domain and hosting domain ALInux Linux - Networking 4 12-19-2006 02:26 AM
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration