Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using debian squeeze on my laptop, network is autoconfigured by DHCP(dhclient/network manager), Monowall is running on my home DSL router, the dns forwarder software is dnsmasq. I've added an A record for my wifi ap "ap.local" =>

When i dig for ap.local, it returns me the good IP:

; <<>> DiG 9.7.3 <<>> ap.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9371
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;ap.local.          IN  A

ap.local.       0   IN  A

;; Query time: 2 msec
;; WHEN: Wed Feb 29 16:32:28 2012
;; MSG SIZE  rcvd: 42

But when i ping ap.local the result is:

ping: unknown host ap.local

i can't use this name in my apps, nevertheless i can ping and use "ap"

Is there anyone here who can help me ?

here is my resolv.conf:

# Generated by NetworkManager
domain local
search local
share|improve this question

Edit the /etc/hosts file and add this line to it: ap.local
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .