I'm trying to enable Firefox's "Browse by Name" feature, which lets you type a random string into the location bar and automatically have it searched using the search provider of your choice. This is what I did:
- Set
keyword.enabled
totrue
inabout:config
- Set
keyword.URL
tohttp://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
, which is used for Google's "I'm Feeling Lucky" feature, as described here.
But if I type google
into the location bar and hit Enter, I get redirected to http://google/
, a blank page which obviously isn't the site I want.
If I see what DNS info google
gives using dig
, I get the following output:
; <<>> DiG 9.8.1 <<>> google
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63911
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google. IN A
;; Query time: 62 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Mar 3 16:06:03 2012
;; MSG SIZE rcvd: 24
So it seems to be properly getting the NXDOMAIN
result to a DNS lookup of google
(I'm using OpenDNS as my DNS provider, so it was important to make sure of that). But I'm still not getting to http://www.google.com/
when I enter google
in the location bar, like I should.
getent hosts google
return?