Results 1 to 8 of 8
Hi,
I am using embedded linux (SSV embedded linux). And my embedded device has dynamic IP. Now i want to register my embedded device ip into local DNS server for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-20-2012 #1Just Joined!
- Join Date
- Aug 2012
- Posts
- 4
Update DNS Entry using dhcp client
Hi,
I am using embedded linux (SSV embedded linux). And my embedded device has dynamic IP. Now i want to register my embedded device ip into local DNS server for name service. Means embedded device should access by name over web instate of IP of device.
In my embedded linux device dhcp client is running (dhcpcd) nad this dhcp client doesnt have any configuration file.
I have read somewhere using dhcp client you can register IP in DNS server.
Can anyone suggest anything related this?
- 08-21-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
- 08-23-2012 #3Just Joined!
- Join Date
- Aug 2012
- Posts
- 4
Hi,
Thanks for reply.
Now here my embedded device dhcpcd (DHCP client) send Hostname information to DHCP Server when IP lease request has been sending. And i can see hostname has been set in DHCP Server. But i cannot ping my embedded device with that hostname. I can see other PC in our network and i can able to ping them by their hostname. We are using Firewall (Kerio) DHCP Server and DNS Forwarding.
Regards,
Bhushan
- 08-26-2012 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
what does that mean? how are you verifying that?
did you DHCP server properly update your DNS server? is this client doing the pinging using that same DNS server?But i cannot ping my embedded device with that hostname.
i'm not familiar w/that product. It could well be something in the configuration of that stuff is your problem.We are using Firewall (Kerio) DHCP Server and DNS Forwarding.
- 08-31-2012 #5Just Joined!
- Join Date
- Aug 2012
- Posts
- 4
Here is image attached of DHCP Server which can show you IP addresses and hostname. *Here you can see 192.168.1.157 islease IP of my device and it is showing Hostname as "esenza-wihart" as i set.
In DNS server there is option to use DHCP Server IP table to resolve IP. Yes Client is doing pinging from same DNS. And alos if other PC in network can ping by hostname as i see in DHCP server hostname image.
Product is like same as embedded computer and it has embedded arm linux has port.Last edited by bhushanmhatre; 08-31-2012 at 09:45 AM. Reason: Some error
- 09-01-2012 #6Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
can that same client PC ping any other DHCP clients in that list, by their hostname?
and is your client a Windows PC, Linux box, or other?
if a Linux client, is the ip address of your DHCP/DNS server in /etc/resolv.conf?
- 09-04-2012 #7Just Joined!
- Join Date
- Aug 2012
- Posts
- 4
- 09-05-2012 #8Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,673
from your Windows client PC, can you ping the ip address of the embedded Linux PC?
after you ping it (assuming you can), run this command on the Windows PC, to verify the hardware MAC address:
you should see the ip address in the first column on the left, and the mac in the middle column. make sure it matches up w/your embedded Linux PC's MAC address. if you don't know it, on the Linux box, run "ifconfig" and look for it in the output.Code:arp -a
Back on your Windows client PC, run this command to query DNS for the Linux hostname:
where <LINUX_PC_HOSTNAME> is the hostname you've assigned to the embedded Linux PC in your DNS software. Post your output here.Code:nslookup <LINUX_PC_HOSTNAME>


Reply With Quote

