Re: nsd configuration problem

2015-06-24 Thread Peter Pauly
NSD (name server daemon) is for authoritative DNS - answering the
question for internet users "what is the IP address of my servers".

You may want to use Unbound. It is a recursive DNS lookup that answers
the question:  "what is the IP address of a server out on the internet
that belongs to someone else".

On Wed, Jun 24, 2015 at 2:06 PM, Graham Stephens
 wrote:
> Hi,
>
> I was under the impression that unbound was like a proxy server for dns
> - I haven't got round to looking at that yet; my brain can only handle
> one task at a time :)
>
> I didn't think I needed it for local dns?
>
> ---
> On 24/06/2015 18:43, mxb wrote:
>>
>>
>> Hey,
>> this is a bit different from bind/named.
>>
>> nsd is a authoritative server ONLY.
>> unbound is a caching server ONLY.
>>
>> I use those together on the same machine.
>> nsd is handling all zones, unbound answers queries.
>>
>> nsd.conf:
>>
>> server:
>>  verbosity: 2
>>  logfile: "/var/nsd/logs/nsd.log"
>>  hide-version: yes
>>  do-ip6: no
>>  port: 5353
>>  ip-address: 127.0.0.1
>>  zonefiles-write: 600
>>
>> remote-control:
>>  control-enable: yes
>>
>> zone:
>>  name: "homelan.com"
>>  zonefile: "homelan.com"
>>
>> zone:
>>  name: "78.168.192.in-addr.arpa"
>>  zonefile: "revers.78"
>>
>>
>> unbound.conf:
>>
>> server:
>> #   verbosity: 3
>> #   logfile: "/var/unbound/log/unbound.log"
>>
>>  interface: 127.0.0.1
>>  interface: 192.168.78.124
>>
>>  port: 53
>>  do-ip6: no
>>  do-udp: yes
>>  do-tcp: yes
>>
>>  access-control: 0.0.0.0/0 refuse
>>  access-control: 127.0.0.0/8 allow
>>  access-control: ::0/0 refuse
>>  access-control: ::1 allow
>>  access-control: 192.168.78.0/24 allow
>>
>>  hide-identity: yes
>>  hide-version: yes
>>
>>  harden-glue: yes
>>  harden-dnssec-stripped: yes
>>  cache-min-ttl: 3600
>>  cache-max-ttl: 86400
>>  prefetch: yes
>>
>>  ## this one important to be able to query nsd
>>  do-not-query-localhost: no
>>
>>  private-domain: "homelan.com"
>>
>>  ## this one important to be able to query nsd
>>  local-zone: "78.168.192.in-addr.arpa." transparent
>>
>> remote-control:
>>  control-enable: yes
>>
>> ## forward to nsd
>> forward-zone:
>>  name: "homelan.com"
>>  forward-addr: 127.0.0.1@5353
>>
>> ## forward to nsd
>> forward-zone:
>>  name: "78.168.192.in-addr.arpa"
>>  forward-addr: 127.0.0.1@5353
>>
>> ## forward to google
>> forward-zone:
>>  name: "."
>>  forward-addr: 8.8.8.8
>>
>>
>> Hope this helps.
>>
>> //mxb
>>
>> On 2015-06-24 19:02, Graham Stephens wrote:
>>>
>>> I've tried to set up nsd on 5.7 x64 and it's not working as it should,
>>> but I'm lost as to where to look to correct the issue. I was hoping
>>> for some pointers. :)
>>>
>>> (possible) Symptoms:
>>>
>>> Starting nsd causes three processes to start - is this normal?
>>>
>>> If I use "nslookup blahname 127.0.0.1" from the local host, I get a
>>> response as expected.
>>>
>>> Just using "nslookup blahname" gives as error of:
>>> ";; Got recursion not available from 127.0.0.1, trying next server".
>>>
>>> From another machine on the lan, using "nslookup blahname" returns:
>>>
>>> "Server: blahname2.domain.com
>>>  Address: 10.0.2.1
>>>
>>> *** blahname2.domain.com can't find blahname: Query refused"
>>>
>>> Any ideas what the issue(s) might be?



Re: Testing changes in current using a liveCD

2015-06-21 Thread Peter Pauly
A twenty percent power reduction is no improvement? You have high expectations.

On Sun, Jun 21, 2015 at 5:13 PM, Walter Alejandro Iglesias
 wrote:
> After realizing that FuguIta runs stable and not current like I thought
> (sorry for the noise) I decided to download a snapshot from an openbsd
> mirror and to install it in my Thinkpad T410.  I indeed noticed an
> improvement in the CPU temperature issue:
>
> With 5.7 release after booting:
>
> hw.sensors.fan0=3283 RPM
> hw.sensors.temp0=43.00 degC
> hw.sensors.itherm0.power0=5.00 W
>
> With 5.8 Jun 18th snapshot idem:
>
> hw.sensors.fan0=1981 RPM
> hw.sensors.temp0=37.00 degC
> hw.sensors.itherm0.power0=4.00 W
>
> Even so there is no improvement in battery life.  Two hours maximum.
>
>
>***
>
> OFF TOPIC
>
> I had to change my email address to be able to post this message; the
> original address I'd subscribed to this mailing list was blacklisted
> without apparent reason.  I asked for help sending a message to
> owner-majord...@openbsd.org as pointed at in the majordomo web interface
> (using this new address since the other is banned); no response.  So
> I'll repeat here my suggestion to warn others about the issue: new users
> of openbsd mailing lists should be aware about the long delays they'll
> experience because of the spamd "greylist" settings, and, honestly, the
> postmaster should consider if spam is really more annoying than
> suffering this greylisting measure.
>
>
> Walter



Re: Encrypted root - booting problems on USB3 only

2015-06-19 Thread Peter Pauly
00: msi
pci5 at ppb4 bus 5
ppb5 at pci0 dev 11 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci6 at ppb5 bus 6
ppb6 at pci0 dev 13 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci7 at ppb6 bus 7
ahci2 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 9 int
19, AHCI 1.2
ahci2: port 4: 1.5Gb/s
scsibus3 at ahci2: 32 targets
cd0 at scsibus3 targ 4 lun 0:  ATAPI 5/cdrom removable
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 9 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 9 int 17
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 9 int
20, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 9 int 21
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 8GB DDR3 SDRAM PC3-10600
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 9 int 16
azalia1: codecs: Realtek/0x0892
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb7 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci8 at ppb7 bus 8
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 9 int
18, version 1.0, legacy support
ppb8 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00
pci9 at ppb8 bus 9
ppb9 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00
pci10 at ppb9 bus 10
re0 at pci10 dev 0 function 0 "Realtek 8168" rev 0x09: RTL8168F/8111F
(0x4800), msi, address 1c:87:2c:74:07:5a
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ppb10 at pci0 dev 21 function 2 "ATI SB800 PCIE" rev 0x00
pci11 at ppb10 bus 11
xhci1 at pci11 dev 0 function 0 "ASMedia ASM1042A xHCI" rev 0x00: msi
usb3 at xhci1: USB revision 3.0
uhub3 at usb3 "ASMedia xHCI root hub" rev 3.00/1.00 addr 1
ppb11 at pci0 dev 21 function 3 "ATI SB800 PCIE" rev 0x00
pci12 at ppb11 bus 12
xhci2 at pci12 dev 0 function 0 "ASMedia ASM1042A xHCI" rev 0x00: msi
usb4 at xhci2: USB revision 3.0
uhub4 at usb4 "ASMedia xHCI root hub" rev 3.00/1.00 addr 1
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 9 int
22, version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 9 int 23
usb5 at ehci2: USB revision 2.0
uhub5 at usb5 "ATI EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 15/0xh Link Cfg" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 15/0xh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 15/0xh DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 15/0xh Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 15/0xh CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 15/0xh Host" rev 0x00
usb6 at ohci0: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb7 at ohci1: USB revision 1.0
uhub7 at usb7 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290
usb8 at ohci2: USB revision 1.0
uhub8 at usb8 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb9 at ohci3: USB revision 1.0
uhub9 at usb9 "ATI OHCI root hub" rev 1.00/1.00 addr 1
umass0 at uhub1 port 3 configuration 1 interface 0 "ADATA ADATA USB
Flash Drive" rev 2.10/11.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
sd0 at scsibus4 targ 1 lun 0:  SCSI4
0/direct removable serial.125fdb8a0055321300F3
sd0: 29600MB, 512 bytes/sector, 60620800 sectors
vscsi0 at root
scsibus5 at vscsi0: 256 targets
softraid0 at root
scsibus6 at softraid0: 256 targets
root on sd0a (dc2c8f1eb4ef3bfc.a) swap on sd0b dump on sd0b
r600_cp: Failed to load firmware "radeon-cypress_pfp"
error: [drm:pid0:evergreen_startup] *ERROR* Failed to load firmware!
drm:pid0:evergreen_init *ERROR* disabling GPU acceleration
drm:pid0:radeon_bo_unpin *WARNING* 0xff043dd032b8 unpin not necessary
drm:pid0:radeon_bo_unpin *WARNING* 0xff043dd032b8 unpin not necessary
radeondrm0: 1920x1200
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)


On Fri, Jun 19, 2015 at 10:16 AM, Peter Pauly  wrote:
> I have an ADATA AUV128-32G-RBE USB3 stick that I've installed 5.7
> (release) AMD64 on with encrypted root. It works fine on other
> computers and this computer using USB2, but when booting inserted into
> a USB3 port I get the following:
>
> "root device not found"
> http://i.imgur.com/pflOwXC.jpg
>
> and
>
> http://i.imgur.com/UWvJaPh.jpg
>
> Motherboard is a ASUS Sabertooth 990FX R2.0
> CPU is AMD FD8350FRHKBOX FX-8350 FX-Series 8-Core Black Edition Processor
>
> I'll try to get a dmesg, but it will be when booting USB2.
>
> Would it be helpful to reinstall with a current snapshot?
>
> I would like to use USB3 because it boots "crazy" fast, just not
> completely. I also have a couple other brand USB sticks I can try.



Encrypted root - booting problems on USB3 only

2015-06-19 Thread Peter Pauly
I have an ADATA AUV128-32G-RBE USB3 stick that I've installed 5.7
(release) AMD64 on with encrypted root. It works fine on other
computers and this computer using USB2, but when booting inserted into
a USB3 port I get the following:

"root device not found"
http://i.imgur.com/pflOwXC.jpg

and

http://i.imgur.com/UWvJaPh.jpg

Motherboard is a ASUS Sabertooth 990FX R2.0
CPU is AMD FD8350FRHKBOX FX-8350 FX-Series 8-Core Black Edition Processor

I'll try to get a dmesg, but it will be when booting USB2.

Would it be helpful to reinstall with a current snapshot?

I would like to use USB3 because it boots "crazy" fast, just not
completely. I also have a couple other brand USB sticks I can try.