Scott,

what I meant with this ping example is that domain name provided
during the installation(lab.net in my case) seems to be in use only in
one place which is the /etc/network/interfaces file "dns-search" line.
This means that if I execute "host www", it asks DNS server for A
record for www.lab.net or if I execute "ping mail", then I'm actually
executing "ping mail.lab.net". You can read more about this from
manual page of resolv.conf.

However, the question itself is simple- where and how is the domain
name, which I inserted during the installation, used? So far it seems
to be used only for completing the domain names.


regards,
Martin

On Sat, Mar 8, 2014 at 2:04 AM, Scott Ferguson
<scott.ferguson.debian.u...@gmail.com> wrote:
> On 08/03/14 12:40, Martin T wrote:
>> Hi,
>>
>> during the installation of Debian, one is asked for "domain name".
>
> If it's not set automatically (by arping?)
>
>> Only place where it seems to be used is for completing the FQDN's:
>>
>> root@localhost:~# find / \( \( -path "/proc" -o -path "/sys" \) -a
>> -prune \) -o \( -type f -a -exec grep -iH "lab.net" {} \; \)
>> /var/log/installer/status:Maintainer: Rémi Denis-Courmont <r...@remlab.net>
>> /var/log/installer/status:Maintainer: Rémi Denis-Courmont <r...@remlab.net>
>> /var/log/installer/cdebconf/questions.dat:Value: lab.net
>> /etc/network/interfaces: dns-search lab.net
>> root@localhost:~#
>>
>>
>> So in case I execute "ping www", it is translated automatically to
>> "ping www.lab.net".
>
> ?  Do you mean when running ping from the local machine? (www. should be
> a subdomain).  The only way I'd see that was if it was registered in a
> local dns, /etc/hosts, or as a result of .htaccess (in a web server).
>
>>
>> However, where and how is the domain-name used during/after Debian 
>> installation?
>
> I'm having a particularly thick day and don't understand the question.
> Do you mean where is it stored, and an exhaustive list of it's
> applications?
>
>>
>>
>>
>> regards,
>> Martin
>>
>>
>
> Puzzled by question and your results from ping.
>
> Kind regards
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/531a7aaa.6030...@gmail.com
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cajx5yvfr0js+pap7zez-ntmswdnmeznvpozfuvabt+1zdpz...@mail.gmail.com

Reply via email to