certIV networking test help please

beenzy

Commendable
Aug 26, 2016
5
0
1,510
hi, studying for my certIV networking test and i really need people to bounce questions off. im new to forums so please be gentle :) im all ears if anyone has any recommendations re forums or etiquette etc.
my question today is - what "command line utility" would i use to find my dhcp server "name" ?
im guessing nbtstat -A 192.168.0.1 but no joy. (finds other different addressed virtual machines)
detail or poss issues-
1 im using my home router to test this on (as it is my dhcp server)
2 ipconfig /all only gives me the ip address to my dhcp server (home router)
3 i have tried nbtstat -a as well as capital -A

thanks heaps :)
 
Solution
Maybe you are over reading the question. Maybe all the want is the ip address. Once you have the ip you can use nslookup to get a name but that is 2 commands. The other problem is a ip can have multiple entries in the dns so you may get multiple results.

For DHCP you have to remember the concept of NAME does not apply as much. You never access the server by name when you use dhcp.

When the PC first connects it sends out a blind dhcp broadcast message saying someone give me a IP address. It has no idea even what IP to talk to. Once it gets a response it always uses that ip to talk to the DHCP server. It is only after it gets this response does it even know where the DNS server is so it would be impossible for it talk to...
Maybe you are over reading the question. Maybe all the want is the ip address. Once you have the ip you can use nslookup to get a name but that is 2 commands. The other problem is a ip can have multiple entries in the dns so you may get multiple results.

For DHCP you have to remember the concept of NAME does not apply as much. You never access the server by name when you use dhcp.

When the PC first connects it sends out a blind dhcp broadcast message saying someone give me a IP address. It has no idea even what IP to talk to. Once it gets a response it always uses that ip to talk to the DHCP server. It is only after it gets this response does it even know where the DNS server is so it would be impossible for it talk to a DHCP server by name since it does not know what the DNS ip is either.
 
Solution

beenzy

Commendable
Aug 26, 2016
5
0
1,510
Thanks for your input bill.
Ive asked my teacher if its actually poss to find the dns name of the dhcp server with a cmd utility as maybe the question is wrong and they only want ip address ( thats easily answered if it is )
 

beenzy

Commendable
Aug 26, 2016
5
0
1,510
teacher finally got back to me - he said its not actually possible.
so it was either a trick question to catch me out or a stupid question to waste many hours of my life looking for the answer.
id like to say this was good for experience but i think it muddled my head more than helped :)
thanks for helping bill001g.