Hi, Yes you are right, but this is not correct at all. Assume we have a gateway that is connected to an AD and the Internet, so we should have two DNS server, one for AD and one for Internet. We can set both in resolve.conf but it slows down the gateway because in this case some DNS request should be resolved by two DNS server (a timeout and a success hit!!), otherwise according to my experience if AD DNS server was not set as a first DNS server in resolve.conf, it could not join to domain. But if there was a way to set DNS server for samba separately, then we would be able to solve this problem.
thanks, -------------- Hamid Reza Hasani -------------- Ya Ali On Tue, Oct 12, 2010 at 4:38 PM, Chris Weiss <[email protected]> wrote: > On Tue, Oct 12, 2010 at 4:57 AM, Hamid Reza Hasani <[email protected]> > wrote: > > Hi, > > I want to set a special DNS server for samba (net join) and I don't want > to > > use resolve.conf! > > Is there any solution for me? > > you can make it not use DNS at all with the "name resolve order" > option, but using a different dns I don't think is possible, and also > sounds like a faulty network design. All AD members really need to > use AD's DNS, or at least be able to reach it via dns zoning and > forwarding. And if you aren't using AD, you don't require DNS. > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
