Re: redundancy in domain or hostname ?

2008-01-28 Thread Derek Ragona

At 06:36 PM 1/26/2008, Walter Jansen wrote:

The router connected to my server reports DNS inquiries like
myserver.example.com.example.com which obviously leads nowhere



The server is in a SOHO situation connected to a router which is connected
to DSL; the server runs 6.3 Release and will serve as mailserver for the few
in-house employees  and as a webserver. The domain example.com is
registered with Dyndns.org who also run the Custom DNS service.  The DNS
entries were checked with Dyndns.org staff and found in accordance with the
purpose.

During installation  of the server, the hostname myserver.example.com and
the domain name example.com were entered in the appropiate Sysinstall
dialog

.

/etc/hosts shows:



::1 localhost.example.com localhost

127.0.0.1   localhost.example.com localhost

192.168.1.13myserver.example.com myserver

192.168.1.13myserver.example.com.



192.168.1.13 is allocated to the server by the DHCP of the router; this IP
address is fixed though!!





Table /etc/resolv.com reads:



domain  example.com

nameserver  192.168.1.1  (my router's IP address





I postponed installation of Postfix and Apache as I feel that host- and
domainname should be configured correctly to prevent accumulating trouble.



Remarks a most appreciated.


The extra entries in /etc/hosts are for both IP6 and IP4 the hostname entry 
with the trailing dot: myserver.example.com. denotes it as a fully 
qualified domain name, FQDN.


If hostname shows the correct hostname with one domain, the problem is else 
ware.  If it is else ware, I suspect your router is adding the example.com 
to every lookup.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: redundancy in domain or hostname ?

2008-01-27 Thread Josh Paetzel
On Saturday 26 January 2008 06:36:11 pm Walter Jansen wrote:
 The router connected to my server reports DNS inquiries like
 myserver.example.com.example.com which obviously leads nowhere



 The server is in a SOHO situation connected to a router which is connected
 to DSL; the server runs 6.3 Release and will serve as mailserver for the
 few in-house employees  and as a webserver. The domain example.com is
 registered with Dyndns.org who also run the Custom DNS service.  The DNS
 entries were checked with Dyndns.org staff and found in accordance with the
 purpose.

 During installation  of the server, the hostname myserver.example.com and
 the domain name example.com were entered in the appropiate Sysinstall
 dialog

 .

 /etc/hosts shows:
 ::1 localhost.example.com localhost

 127.0.0.1   localhost.example.com localhost

 192.168.1.13myserver.example.com myserver

 192.168.1.13myserver.example.com.



 192.168.1.13 is allocated to the server by the DHCP of the router; this IP
 address is fixed though!!





 Table /etc/resolv.com reads:



 domain  example.com

 nameserver  192.168.1.1  (my router's IP address





 I postponed installation of Postfix and Apache as I feel that host- and
 domainname should be configured correctly to prevent accumulating trouble.



 Remarks a most appreciated.



 --  Walter --

If memory serves the hostname in sysinstall is just the host part of the name, 
in your case myserver, and the domain part is example.com

What does hostname think the hostname is?

The other common case where you'll get this is forgetting a . in a BIND zone 
file, which causes it to append the domain name again

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


redundancy in domain or hostname ?

2008-01-26 Thread Walter Jansen
The router connected to my server reports DNS inquiries like
myserver.example.com.example.com which obviously leads nowhere

 

The server is in a SOHO situation connected to a router which is connected
to DSL; the server runs 6.3 Release and will serve as mailserver for the few
in-house employees  and as a webserver. The domain example.com is
registered with Dyndns.org who also run the Custom DNS service.  The DNS
entries were checked with Dyndns.org staff and found in accordance with the
purpose.  

During installation  of the server, the hostname myserver.example.com and
the domain name example.com were entered in the appropiate Sysinstall
dialog

. 

/etc/hosts shows:

 

::1 localhost.example.com localhost

127.0.0.1   localhost.example.com localhost

192.168.1.13myserver.example.com myserver

192.168.1.13myserver.example.com.

 

192.168.1.13 is allocated to the server by the DHCP of the router; this IP
address is fixed though!!

 

 

Table /etc/resolv.com reads:

 

domain  example.com

nameserver  192.168.1.1  (my router's IP address

 

 

I postponed installation of Postfix and Apache as I feel that host- and
domainname should be configured correctly to prevent accumulating trouble.

 

Remarks a most appreciated.

 

--  Walter -- 

 

 

 

 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]