cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2827
Views
0
Helpful
2
Replies
Highlighted
Beginner

DHCP Domain-Name Command

Hello there :)

this is my first visit in here as I am a fresh CCNA who has just started working in a networking section where they are facing some problems in the IT department.
DHCP server was removed and the cisco Core Swithch was given the task after deviding the network into several VLANS.
They have (example.com) as a domain name, but when I checked the DHCP Configuration in the (runing-config) file I found this:
<!--break-->

!
ip dhcp pool xyz
   network 10.100.1.0 255.255.255.0
   default-router 10.100.1.254
   dns-server 192.168.100.200
   domain-name wr
   lease 30
!

What I think is that it was mis-configured because the "Show startup-config" command shows the correct Domain Name:

!
  domain-name example.com
!

My question is: what effect will a wrong DHCP Domain Name cause?

 

Thank you

Ahmed

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Enthusiast

HiThat is just the domain

Hi

That is just the domain name that is provided to the clients through DHCP. But I think it would have an impact if the clients use DNS records to reach local servers and such, because they will default to use the domain name of "wr" instead of the correct one.

So for example if an client would want to ping a router with hostname of R1, a client pinging to just R1 would resolve that to R1.wr, instead of R1.example.com.

It would ofcourse be optimal if you used the same domain name everywhere.

2 REPLIES 2
Enthusiast

HiThat is just the domain

Hi

That is just the domain name that is provided to the clients through DHCP. But I think it would have an impact if the clients use DNS records to reach local servers and such, because they will default to use the domain name of "wr" instead of the correct one.

So for example if an client would want to ping a router with hostname of R1, a client pinging to just R1 would resolve that to R1.wr, instead of R1.example.com.

It would ofcourse be optimal if you used the same domain name everywhere.

Beginner

That is great!!Actually,

That is great!!

Actually, people are complaining they were unable to login to remot devices by name unless they try with there IP first (look how painfull that can be!). I think that explains the issue for me! I will go and correct that and see what happens.

 

Thank you very much Henrik.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards