Thanks for replying my message, but the thing is, it's already getting an ip adress via dhcp from my isp, everything is working except the dns.
The strange thing is, it was working for like 2 hours, after that the dns couldn't resolve any names.
Maybe this story will help someone get an idea of my problem.