Dec 7, 2012

openSUSE Forums: How to setup nameserver for each network interface ?

openSUSE Forums
openSUSE Forums
How to setup nameserver for each network interface ?
Dec 7th 2012, 13:37

Hello,

I have a machine installed Opensuse 12.2 64b that has 2 network interfaces eth0 and eth1.
Eth0 connect to subnetwork 178.17.0.1/24 with nameserver is 178.17.0.32, domain: company.com
Eth1 connect to subnetwork 192.168.0.1/16 with nameserver is 192.168.1.10 , domain: home.com

I used network setting in Yast and configure 2 interface that have IP respectively 178.17.0.46 ,192.168.0.46

DNS configuration, i chose use default policy and filled 2 nameservers and their domains in domain search.

For the routing table :
Des Gateway Genmask Device
178.17.0.0 178.17.0.46 255.255.255.0 Eth0
192.168.0.0 192.168.0.46 255.255.0.0 Eth1

I can ping the hosts in domain company.com, for ex: ping test1.company.com,
but i cannot ping the host in domain home.com (ping from those hosts to linux machine , it works). Although i added Opensuse machine addres in 2 DNS server in each domain.

It always use 178.17.0.32 to resolve host name in 2 cases. so how can i set up name server for each interface ?

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: