Local domain server access issues
I moved our DHCP from a windows small business 2008 server to our sonicwall firewall. when I try and domain a computer to the local domain on the server I get an error."That domain couldnt be found. Check the domain name and try again." What are potential troubleshooting steps i can take? Networking is not my strong suit.
See also questions close to this topic
Wireless Connection Location
I am developing emergency notification system and running windows service to check active alerts based on logged-in user's location however when user connects with wireless then i do not know the location because I use centralized network and only wired connections have IP range but no IP range for access points. I have over 50 buildings and some of them so close to each other they may overlap wireless connections.
How to know user's building if h/she use wireless connection? or what else can i try to overcome this?
IIS hosted Web API doesn't pick up incoming requests
Some background: I'm working on setting up a Web API in IIS. Everything works locally in Postman/web browser, big surprise. I also have a small no frills client/server program I wrote (C# console application) a while back that was known to work between computers at the time, I've since moved and have a different ISP (CenturyLink).
More background: I have DynDNS set up (I don't have a choice, I'm locked into it for hardware/ISP reasons), and I have Port Forwarding setup to go to the box I want. When I check my port, 18960 for what it's worth, using http://www.canyouseeme.org/, it's open. My website is also bound to that Port.
What I've tried: When I ran my client program to connect to the server, it failed, which I assumed was due to firewall issues on the computer I was running the client on, so I moved on. Interestingly, my server will output "Client Connected" when I use "canyouseeme" to check the Port. I can also use my phone to use one of the GET URLs and see it come in through WireShark, so I know my requests are getting to the endpoint, presumably meaning my Ports and DDNS stuff is setup correctly.
The issue is that when I have my server running, I get the Port check traffic, and I can see the GET request come in, but when I turn off the server and start the website... nothing. I'm still very new to IIS, so I thought perhaps IIS wasn't listening on the Port, but doing a quick search on that train of thought led me to believe that's silly.
How to set vrf and source-interface ios_logging ansible
To configure switch as shown below from ansible, how can we write playbook for the last 4 lines of this config files? Any comments and suggestions appreciated.
... logging trap informational logging console informational logging vrf MGMT host 10.2.5.7 logging host 10.5.3.7 5454 Logging vrf MGMT source-interface Management1 Logging source-interface Loopback0
- name: config trap logging and level ios_logging: dest: trap # Is it available? level: informational state: present - name: config console logging and level ios_logging: dest: console level: informational state: present - name: config vrf and host # not enough documentation I could find ios_logging: dest: # how to get the vrf VRF or is it host? name: 10.2.5.7 # only if the dest. is host state: present - name: config host and name ios_logging: dest: host name: '10.5.3.7 5454' state: present - name: config vrf and source-interface # not enough documentation I could find ios_logging: dest: # how to get the vrf VRF or is it host? name: ? # source-interface part state: present - name: config source-interface # same issue ios_logging: dest: source-interface # is this a way? name: Loopback0 # someone tell me this is a way state: present
C++ Console Application check if X Button got pressed
I directly have to say I am pretty new to C++, that's why I need your guys help!
I am currently setting up a Server and Client Connection, which works without a Problem.
The Server currently registers if a Client connects to the Server and that's it.
So now to my Problem. I am trying to fetch if the User presses the "X" Button of the Console Application, or if the Client drops the Connection.
But I really don't know how to start, I would really appreciate it, if you guys have any tips for me. If you want code pieces then please just ask, and not directly down vote.
Thanks in advance!
How do I explicitly set which port my TCP client is listening on?
Say I have a server and client similar to the code below which is taken from here: https://wiki.python.org/moin/TcpCommunication#Client
1 #!/usr/bin/env python 3 import socket 4 5 6 TCP_IP = '127.0.0.1' 7 TCP_PORT = 5005 8 BUFFER_SIZE = 20 # Normally 1024, but we want fast response 9 10 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 11 s.bind((TCP_IP, TCP_PORT)) 12 s.listen(1) 13 14 conn, addr = s.accept() 15 print 'Connection address:', addr 16 while 1: 17 data = conn.recv(BUFFER_SIZE) 18 if not data: break 19 print "received data:", data 20 conn.send(data) # echo 21 conn.close()
1 #!/usr/bin/env python 2 3 import socket 4 5 6 TCP_IP = '127.0.0.1' 7 TCP_PORT = 5005 8 BUFFER_SIZE = 1024 9 MESSAGE = "Hello, World!" 10 11 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 12 s.connect((TCP_IP, TCP_PORT)) 13 s.send(MESSAGE) 14 data = s.recv(BUFFER_SIZE) 15 s.close() 16 17 print "received data:", data
Seems to me when the client connects to the server it is assigned a somewhat random port that it will listen on for responses.
My question is how do I explicitly set which port my client will listen for a responses on and communicate that to the server?
I want to receive msg's from my server to my client which should be listening on port 5023 for example rather than some randomly assigned port.
Choosing right libraries for current Python school project
im new to python programming and i need help in choosing right libraries. I would like to create an app for raspberry to recieve data from microcontroller via gprs (apache server) store it on disk (sql) and make some graphical representation of these values. It will be a gyro values from sea buoy. So im thinking about some plot and moving buoy image. Do you suggest some specific libraries for that (or framework). Thanks in advance.
Reproduce `Temporary failure in name resolution`
How can I reproduce manually the
Temporary failure in name resolutionerror, when doing
ping google.comin linux?
Probably, I can add a broken DNS server by my own and specify it in
I need this for testing my project.
AWS route 53 inaccessible domain in www
I'm currently deploying my first SAAS on AWS. I am using a free Amazon Linux 2 EC2 with a domain name on Route 53.
I can access my domain in http and even in https: https://booda.me redirection without problem.
Alternately, when using www (www.booda.me), the domain is inaccessible. When I created my https certificate, I got the following error message for www.booda.me:
I did not change the apache config other than the virtual host as shown in the AWS doc tutorial:
<VirtualHost *: 80> DocumentRoot "/ var / www / html" ServerName "booda.me" ServerAlias "www.booda.me" </ VirtualHost>
Here are the DNS (image below) of the routing of my domain.
Where do you think it could come from?
EDIT I added a type A DNS for "www.booda.me" and now the HTTPS certificate is passed. However the domain www.booda.me is still inaccessible.
I tried to add the same type A DNS as an alias but still no result. www.booda.me does not redirect to the HTTPS version and displays a 404 instead. [DNS A]
[Alias] [404 not found]
EDIT thank you everything works now, sorry I'm really new to the subject. Thank you for helping me. Have a good day :)
Centos7.4 DNS Issue: Unable To Resolve Domains via Ping But NSLOOKUP Working
I have been unable to resolve domains via ping however DIG, NSLOOKUP and HOST are resolving domains just fine.
[root@xxx ~]# cat /etc/resolv.conf | grep nameserver nameserver 127.0.0.1 nameserver 188.8.131.52 nameserver 184.108.40.206 [root@xxx ~]# cat /etc/nsswitch.conf | grep hosts hosts: files dns myhostname mdns [root@xxx ~]# ping 220.127.116.11 -c 1 PING 18.104.22.168 (22.214.171.124) 56(84) bytes of data.<br/> 64 bytes from 126.96.36.199: icmp_seq=1 ttl=117 time=71.1 ms --- 188.8.131.52 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 71.173/71.173/71.173/0.000 ms [root@xxx ~]# [root@xxx ~]# ping google.com ping: google.com: Name or service not known [root@xxx ~]# host google.com google.com has address 184.108.40.206 google.com has IPv6 address 2a00:1450:401a:804::200e google.com mail is handled by 40 alt3.aspmx.l.google.com. google.com mail is handled by 50 alt4.aspmx.l.google.com. google.com mail is handled by 30 alt2.aspmx.l.google.com. google.com mail is handled by 10 aspmx.l.google.com. google.com mail is handled by 20 alt1.aspmx.l.google.com. [root@xxx ~]# nslookup google.com Server: 127.0.0.1 Address: 127.0.0.1#53 Non-authoritative answer: Name: google.com Address: 220.127.116.11 [root@xxx ~]# dig google.com ; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64421 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 9 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 290 IN A 18.104.22.168 ;; AUTHORITY SECTION: google.com. 172790 IN NS ns3.google.com. google.com. 172790 IN NS ns4.google.com. google.com. 172790 IN NS ns2.google.com. google.com. 172790 IN NS ns1.google.com. ;; ADDITIONAL SECTION: ns2.google.com. 172790 IN A 22.214.171.124 ns2.google.com. 172790 IN AAAA 2001:4860:4802:34::a ns1.google.com. 172790 IN A 126.96.36.199 ns1.google.com. 172790 IN AAAA 2001:4860:4802:32::a ns3.google.com. 172790 IN A 188.8.131.52 ns3.google.com. 172790 IN AAAA 2001:4860:4802:36::a ns4.google.com. 172790 IN A 184.108.40.206 ns4.google.com. 172790 IN AAAA 2001:4860:4802:38::a ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Oct 19 12:13:50 CAT 2018 ;; MSG SIZE rcvd: 303 [root@xxx ~]#
How to fetch ISP internet connection type using python?
My program has a requirement to dynamically adjust some parameters based on the internet connection type provided by the ISP.
For instance if the connection type is DHCP, my program will behave slightly differently and if it is PPPoE, it will behave otherwise.
But is there a way to fetch these details using Python?
A quick google search brings up ways to fetch details like public IP, hostname, etc. But no mention of connection type anywhere.
Any help is appreciated. Thanks! :)
PowerDNS Master Slave Configuration
I deployed 4 powerDNS instances. 2 in NJ (nj-ns1 and nj-ns2) and 2 others in LA (la-ns1 and la-ns2).
Configured pdns in pdns.conf as, nj-ns1 as master. nj-ns2 la-ns1 and la-ns2 as Slaves.
Each of the NS also run DHCP. The 2 NS in NJ only manage NJ host and 2 NS in LA only mange LA hosts. I configured DHCP to update DNS with the leases.
My question is, If I create a dns zone (called la.test) with la-ns1 as master ns, would dhcp in LA be able to add A records to it? even though it is not a "powerDNS master"? I am basically confused about the difference between setting Master in pdns.conf vs. on the zone itself.
Issue setting up Open vSwitch on GCE (DHCP client not working)
I am trying to simulate an on-premises solution on GCP. I am not able to bridge with the GCE NIC and get DHCP working on that.
I have isolated the issue and also successfully tests the similar thing on a sandboxed Vagrant (VirtualBox) setup.
Both approaches are scripted and available on the following repos: https://github.com/htssouza/ovs-gcp-issue