View Single Post
  #7   (View Single Post)  
Old 2nd March 2011
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
# dig PS-8B4C0D.home.yak

; <<>> DiG 9.4.2-P2 <<>> PS-8B4C0D.home.yak
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10613
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;PS-8B4C0D.home.yak. IN A

;; ANSWER SECTION:
PS-8B4C0D.home.yak. 5 IN A 63.146.68.202
. 5 IN A 63.146.68.201

;; Query time: 236 msec
;; SERVER: 205.171.3.25#53(205.171.3.25)
;; WHEN: Tue Mar 1 19:51:31 2011
;; MSG SIZE rcvd: 68
The answer section looks wrong to me. I am using a commercial router and I believe the DNS is performed by my ISP earthlink
Quote:
$ cat /etc/hosts
# $OpenBSD: hosts,v 1.12 2009/03/10 00:42:13 deraadt Exp $
#
# Host Database
#
# RFC 1918 specifies that these networks are "internal".
# 10.0.0.0 10.255.255.255
# 172.16.0.0 172.31.255.255
# 192.168.0.0 192.168.255.255
#
127.0.0.1 localhost
::1 localhost
192.168.1.5 Test.home.yak Test
192.168.1.2 PS-8B4C0D.home.yak PS-8B4C0D
Quote:
$ ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=4.516 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=2.069 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=2.103 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=2.087 ms
--- 192.168.1.2 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
Quote:
$ cat /etc/hosts.lpd
# $OpenBSD: hosts.lpd,v 1.3 2008/04/15 07:54:48 ajacoutot Exp $
# As described in lpd(8), place one legal access hostname per line.
# See hosts.equiv(5) for syntax and examples.
PS-8B4C0D.home.yak
Quote:
# lpc status
hp5l:
queuing is enabled
printing is enabled
no entries
printer idle
------------------------------------------
Quote:
Web Interface of the trendnet printserver
Server Name : PS-8B4C0D
Port Name : P1
Model : TE100-P1P
Firmware Version : 4.06 (2005-07-12)
MAC Address : 00 14 D1 8B 4C 0D
IP Address : 192.168.1.2 (Manual)
Up Time : 132 days, 06:42:44
I think there is something wrong with my reverse DNS resolution
although I also tried
Quote:
hp5l|HP 5L Laserjet:\
:lp=:\
:rm=192.168.1.2:\
:rp=P1:\
:af=/etc/foomatic/HP-LaserJet_4L-ljet4.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sh:sd=/var/spool/output:\
:lf=/var/log/lpd-errs:
and various rp= values lp, lpt1, lpt0

I appreciate the help

Last edited by shep; 2nd March 2011 at 05:17 AM. Reason: Added comment after dig quote
Reply With Quote