Re: Resolv.conf with multiple adaptors on multiple networks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Oct 9, 2009 at 10:39 AM, ML <mailinglists@xxxxxxxxxxxxxxx> wrote:
> Hi All,
>
> I did a clean install of CentOS 5.3 yesterday. During setup I
> activated both adapters on startup. etho is my public IP and eth1 is
> my private/internal IP.
>
> It did not let me specify nameservers though.
>
> So I know this is resolv.conf.
>
> I know I put in:
> nameserver xxx.xxx.xxx.xxx
> nameserver xxx.xxx.xxx.xxx
>
> But how do I put in nameservers for specific networks? Example, I want
> my public IP to resolve to the comcast name-servers top get out to
> things like Google. I want internal to default to my internal DNS once
> I have it setup.
>
> -Jason
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

i second what the others have said, but you can specify nameservers
for each nic in their
/etc/sysconfig/network-scripts/ifcfg-ethX file.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux