Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190528

Re: hostname of the modem gateway

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: hostname of the modem gateway
Date 2018-01-02 09:00 +0100
Message-ID <v3pEm-5VA-9@gated-at.bofh.it> (permalink)
References (3 earlier) <v3oyB-5dr-7@gated-at.bofh.it> <v3oyB-5dr-5@gated-at.bofh.it> <v3oIh-5gZ-13@gated-at.bofh.it> <v3oRX-5Aa-3@gated-at.bofh.it> <v3p1D-5Fs-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1/2/2018 8:16 AM, john doe wrote:
> On 1/2/2018 8:01 AM, Tom Furie wrote:
>> On Tue, Jan 02, 2018 at 07:52:31AM +0100, john doe wrote:
>>
>>> My default route is not 192.168.1.1 and host(1) gives me that same 
>>> error.
>>
>> What the error actually means is that there is no reverse DNS resolution
>> for that IP address, in other words the IP address cannot be resolved to
>> its hostname. It has nothing at all to do with routing.
>>
> 
> The OP has said that he want it to get the hostname of his upstream 
> router/gateway.
> 'ip -r r' will show the FQDN of his default route (192.168.1.1) in that 
> case.
> 

Rereading the all conversation I should have said to "David Wright 
<deblis@lionunicorn.co.uk>" that the error:

$ host 192.168.1.1
Host 1.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)

Meens that there is no hostname associated with that ip.
But in the case of the OP it should work.

-- 
John Doe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

hostname of the modem gateway Max Power <debian@cpnetserver.net> - 2018-01-02 00:30 +0100
  Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 06:30 +0100
    Re: hostname of the modem gateway David Wright <deblis@lionunicorn.co.uk> - 2018-01-02 07:20 +0100
      Re: hostname of the modem gateway Tom Furie <tom@furie.org.uk> - 2018-01-02 07:50 +0100
        Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 08:00 +0100
          Re: hostname of the modem gateway Tom Furie <tom@furie.org.uk> - 2018-01-02 08:10 +0100
            Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 08:20 +0100
              Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 09:00 +0100
                Re: hostname of the modem gateway David Wright <deblis@lionunicorn.co.uk> - 2018-01-03 11:10 +0100
      Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 07:50 +0100
  Re: hostname of the modem gateway Tom Furie <tom@furie.org.uk> - 2018-01-02 09:30 +0100
  Re: hostname of the modem gateway Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-02 15:40 +0100
  Re: hostname of the modem gateway Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-02 16:10 +0100
  Re: hostname of the modem gateway Glenn English <ghe2001@gmail.com> - 2018-01-02 16:10 +0100

csiph-web