setting primary dns

Hi,

I am running Fedora 7. I seem to remember there being a command to determine the primary dns. Can anyone help me find out what it is?

Thanks!

The DNS info should be in "/etc/resolv.conf"

nameserver a.b.c.d
domain my.domain
search default.search.domain.list

that only lists my domain name.

i am trying to set the primary dns.

all it says in /etc/resolv.conf is

search mydomain.com