> For the complete documentation index, see [llms.txt](https://blog.log4think.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.log4think.com/bogon.md).

# 2012-02-05  hostname自动变成bogon的问题

Mac下开iTerm2，发现hostname经常自己变来变去的，有的时候是本机的名字，有的时候自己就变成了bogon。一查，发现：

```
simon@bogon:~$ nslookup
> 192.168.1.1
Server: 124.89.1.129
Address: 124.89.1.129#531.1.168.192.in-addr.arpa name = bogon.
> 10.1.1.1
Server:     124.89.1.129
Address:    124.89.1.129#53

1.1.1.10.in-addr.arpa   name = bogon.
```

原来 192.168.*， 10.* 被DNS反向解析成了bogon，换个DNS（比如8.8.8.8）就没问题了


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.log4think.com/bogon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
