[Samba] name resolves to public address - should resolve to private...

Adam Williams awilliam at mdah.state.ms.us
Wed May 7 21:08:24 GMT 2008


run a separate BIND9 installation on 10.10.10.34 and have it resolve DNS 
for .34 and .253, and in your dhcpd.conf specify 10.10.10.34 as the DNS 
server.

Joe Demeny wrote:
> On my network I have one Samba PDC (Version 3.0.28 running on FreeBSD
> 6.3-PRERELEASE), one mail server (FreeBSD + Dovecot + Postfix) and a
> dozen or so WinXP/Win2K machines. The WinXP/Win2K machines all have
> static IP addresses.
>
> The Windows clients are configured to look up the Samba PDC machine for
> both DNS and WINS. The Windows clients seem to be able to find other
> machines as well as the PDC:
>
> Z:\>ping pilot-ws
>
> Pinging pilot-ws [10.10.10.34] with 32 bytes of data:
>
> Reply from 10.10.10.34: bytes=32 time<1ms TTL=128
> Reply from 10.10.10.34: bytes=32 time<1ms TTL=128
> Reply from 10.10.10.34: bytes=32 time<1ms TTL=128
> Reply from 10.10.10.34: bytes=32 time<1ms TTL=128
>
> The Windows clients can also find the mail server:
>
> Z:\>ping mail
>
> Pinging mail [10.10.10.253] with 32 bytes of data:
>
> Reply from 10.10.10.253: bytes=32 time<1ms TTL=64
> Reply from 10.10.10.253: bytes=32 time<1ms TTL=64
> Reply from 10.10.10.253: bytes=32 time<1ms TTL=64
> Reply from 10.10.10.253: bytes=32 time<1ms TTL=64
>
> But, the Windows clients resolve the FQDN of the mail server to the
> public IP address:
>
> Z:\>ping mail.mycustomer.com
>
> Pinging mail.mycustomer.com [aaa.bbb.ccc.ddd] with 32 bytes of data:
>
> Reply from aaa.bbb.ccc.ddd: bytes=32 time<1ms TTL=64
> Reply from aaa.bbb.ccc.ddd: bytes=32 time<1ms TTL=64
> Reply from aaa.bbb.ccc.ddd: bytes=32 time<1ms TTL=64
> Reply from aaa.bbb.ccc.ddd: bytes=32 time<1ms TTL=64
>
> What I want is that the Windows machines resolve both mail and
> mail.mycustomer.com to 10.10.10.253.
>
> On the Samba PDC machine in /etc/hosts I have:
>
> 10.10.10.253    mail.mycustomer.com  mail
>
> and the Samba PDC machine resolves mail.mycustomer.com to 10.10.10.253.
>
> In smb.conf I have:
>
>     wins support = Yes
>     dns proxy = No
>     name resolve order = wins host lmhosts broadcast
>
> I would very much appreciate your insight...
>   



More information about the samba mailing list