Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Active Directory and Local DNS

Product : CISCO SG500-28p

I have setup the switch in the lab with the following parameters
Switch is in Layer 3 mode, ip routing enabled, VLANS can communicate with each other
and surf the Internet.

NEEDED : Establish local domain name resolution for mydomain.xyz so that computers
can be pinged using their hostnames e.g. comp1.mydomain.xyz

VLAN 200
ip address 172.16.20.0/24
dhcp-enabled
Active Directory with Local DNS Server ( for mydomain.xyz )  : 172.16.20.2 
VLAN 300
ip address 172.16.30.0/24
dhcp-enabled
Others
SG 500 Gigabit Port 24: 172.16.17.253 /30.
External Internet Gateway: 172.16.17.254 /30
default route 0.0.0.0 / 0.0.0.0 172.16.17.254
dhcp appends mydomain.xyz to all clients.

If i use the following command for each network pool:

ip name-server 172.16.20.2 172.16.17.254
or is it

ip dns-server 172.16.20.2 172.16.17.254

will it be allowed? in the GUI, I have seen only one (1) option for DNS server the assumption is DHCP clients for all VLANs will now have two (2) DNS Addresses, the first for internal resolution (mydomain.xyz)
and the 2nd for external DNS (the Internet)

Is it safe to do so? Will the overall network performance be affected?

Just want to confirm before I do a reconfiguration. At present DNS is just 172.16.17.254

 

 

 

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Hello kurtsalvador1,Yes the

Hello kurtsalvador1,

Yes the limitation on the Web Gui of the switch is 1 DNS server.  However if you go into CLI you can set multiple DNS servers.  

To set the DNS servers via CLI on a SG500 as an example follows:

config t

int VLAN10

ip dhcp pool network "VLAN10"

dns server 8.8.8.8 4.2.2.2

end

wr

Hope this helps,

 

Michael D.

If this post is helpful please rate or mark as correct.

2 REPLIES
Bronze

Hello kurtsalvador1,Yes the

Hello kurtsalvador1,

Yes the limitation on the Web Gui of the switch is 1 DNS server.  However if you go into CLI you can set multiple DNS servers.  

To set the DNS servers via CLI on a SG500 as an example follows:

config t

int VLAN10

ip dhcp pool network "VLAN10"

dns server 8.8.8.8 4.2.2.2

end

wr

Hope this helps,

 

Michael D.

If this post is helpful please rate or mark as correct.

Community Member

Thanks! it worked.

Thanks! it worked.

126
Views
0
Helpful
2
Replies
CreatePlease to create content