Arduino Yun and DNS

Hi,
Just got a yun and am attempting to connect to local network .php file for database logging. It's successfully connecting to my wireless network and getting an IP address. According to the config page it's also using the correct DNS servers. But I am unable to connect to the web server using the name, only by address. So using SSH, when I attempt to ping a local address I am receiving a bad address error message. I can ping external sites though. If I enter the name servers in resolv.conf the everything works fine. But if I restart the yun the resolv.conf entries I just entered are gone and the sketch stops working.

How can I get the entries to save? Or how can I guarantee that the DNS on the config will actually work?

Thanks in advance.

Sorry, I do not have an answer for you. But you might have better answers by asking your Yun related question on the forum section reserved specifically to the Yun: Arduino Yún - Arduino Forum

Is your DHCP server providing DNS information and if yes, is it providing the correct internal DNS? What's in /etc/resolv.conf after the reboot?

Thanks wernert, I will check into that forum.

pylon,
defaults back to:

search "mydomain name"
nameserver 127.0.0.1

The Status page on the Yun web panel correctly displays my DNS configuration.

That's what I expected. The local DNS cache is active. The configuration is in /tmp/ if I remember correctly. Can you search there for a file with "resolv" in it's name? And post it's content if you find it?