Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | How To Get Name Server IP

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

How To Get Name Server IP - joejaworski - Jun 21 13:29:21 2008

Does anyone know how to get the IP of the Nameserver (at least the
first one) assigned by DHCP?

I am running an RCM3700 on DC 9.62. Unfortunately, there is no option
like IFG_NAMESERVER in ifconfig().

Thanks for your replies.

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: How To Get Name Server IP - joejaworski - Jun 23 15:37:01 2008

Never mind, I figured this out.

longword nameserver;
nameserver = servlist_first(&_dns_server_table, 0, NULL);
--- In r...@yahoogroups.com, "joejaworski" wrote:
>
> Does anyone know how to get the IP of the Nameserver (at least the
> first one) assigned by DHCP?
>
> I am running an RCM3700 on DC 9.62. Unfortunately, there is no option
> like IFG_NAMESERVER in ifconfig().
>
> Thanks for your replies.
>


(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )